Introduction to OOP
Chapter 8: Inheritance and Substitution:
Private, Public and Protected
There are now three levels of visibility modifiers:
: accessible only within the class definition (but memory is still found in the child class, just not accessible).
: accessible anywhere
: accessible within the class definition or within the definition of child classes.
Note: Java interprets protected to mean accessible within same package
, Slide 04