Multiple Choice
Which of the following is true about protected access?
A) Protected members may be accessed by methods in the same package or in a subclass, even when the subclass is in a different package.
B) Protected members may be accessed by methods in the same package or in a subclass, but only if the subclass is in the same package.
C) Protected members cannot be accessed by methods in any other classes.
D) Protected members are actually named constants.
Correct Answer:

Verified
Correct Answer:
Verified
Q41: If a method in a subclass has
Q42: A _ member's access is somewhere between
Q43: When a subclass overrides a superclass method,
Q44: In the following code, which line in
Q45: In the following code, what is missing
Q47: An abstract class is not instantiated itself
Q48: All fields declared in an interface _.<br>A)
Q49: In the following statement, which is the
Q50: Which of the following shows the inheritance
Q51: Protected class members can be denoted in