What kind of data field or method can be used within its own class or in any classes extended from that class, but cannot be used by "outside" classes?

A. protected
B. public
C. private
D. internal


Answer: A

Computer Science & Information Technology

You might also like to view...

The Shift key is a(n) key.

a. modifier b. action c. output d. None of the above

Computer Science & Information Technology

Write an if statement to do the following. (Assume the variables have been declared. You do not need to declare the variables. Simply construct an if statement.) Hint: You will need to use comparison operators and a logical operator.

If both variables a and b are greater than 0, then increment the value of the variable c by 1.

Computer Science & Information Technology

Fields names cannot contain spaces or special characters.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The default number of rows that display in the Insert Table dialog box when you click the Insert table button is ________

A) 4 B) 3 C) 2 D) 5

Computer Science & Information Technology