Asked by
Jacob Bourgault
on Oct 27, 2024Verified
A subclass can directly access protected members of a superclass.
Protected Members
Class members that can be accessed within their own class, subclasses, and the package but not externally.
Superclass
The class from which a subclass inherits fields and methods, often referred to as a parent class.
- Comprehend access levels and scope within class hierarchies in Java
Verified Answer
BM
Learning Objectives
- Comprehend access levels and scope within class hierarchies in Java