reference (accessing members by using the dot operator on an object).
- Chapter 1. Java class design
- from OCP Java SE 7 Programmer II Certification Guide: Prepare for the 1ZO-804 exam
- Publisher: Manning Publications
- Released: August 2015
You can access protected members of a class from the class that is extending it by it's own (child) reference. You cannot access protected members of a class from the class that is extending it by it's parent reference.
Share this highlighthttp://www.safaribooksonline.com/a/ocp-java-se/14096517/