Multiple Choice
A variable that is declared with the ____ keyword can be used only by the class in which it is defined.
A) Public
B) Protected
C) Friend
D) Private
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: In the Set statement, a parameter is
Q11: The Set statement begins with the keyword
Q13: The _ privateVariable instruction directs the computer
Q14: A _ is a method whose instructions
Q16: The code contained in the _ block
Q17: A _ initializes the class's variables.<br>A) constructor<br>B)
Q18: The Class statement ends with the keyword(s)_.<br>A)Class<br>B)Exit
Q18: By convention, the first letter of each
Q19: When a property is declared using the
Q20: By convention, most programmers capitalize the first