Protected access: Protected members are accessible within the class and its subclasses.
How to apply it: Know that private superclass fields are not directly accessible in subclasses; use super.getField() instead.
Course: AP Computer Science A · Unit: Inheritance
Practice questions about Protected access on AimFive — get rubric-based feedback showing exactly which points you earned.
AP and Advanced Placement are trademarks of College Board. AimFive is not affiliated with or endorsed by College Board.