Multiple Choice
A protected member of a class may be directly accessed by:
A) methods of the same class
B) methods of a subclass
C) methods in the same package
D) All of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q13: An abstract class is not instantiated, but
Q14: If a method in a subclass has
Q15: When a subclass overloads a superclass method:<br>A)
Q17: Look at the following code. The method
Q19: Look at the following code and determine
Q20: What is wrong with the following code?<br>Public
Q21: If you do not provide an access
Q23: If ClassA extends ClassB, then:<br>A) public and
Q27: In an inheritance relationship, the subclass constructor
Q54: A compiler error will result if an