Q. In Java, can a subclass access protected members (fields and methods) of its superclass?
β
Correct Answer: (D)
Yes, regardless of the package
Explanation: In Java, protected members (fields and methods) of a superclass are accessible to its subclasses.