A Admin • 833.24K Points Coach Q. In Java, can a subclass access protected members (fields and methods) of its superclass? (A) Only if the subclass is marked as "final" (B) No, protected members are not accessible to subclasses (C) Yes, as long as it's in the same package (D) Yes, regardless of the package Correct Answer - Option(D) Views: 39 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.