Chapter 9 Inheritance - Completer
Chapter 9 Inheritance - Completer
• CommunityMember
• is the direct superclass of Employee, Student and
Alumnus
• is an indirect superclass of all the other classes in the
diagram.
• Starting from the bottom, you can follow the
arrows and apply the is-a relationship up to the
topmost superclass.
Accessible, no ref
Accessible, ref
Directly, no ref
Ms. Haneen Hijazi 16
Access protected members from other classes