3.4 Modifiers🔗ℹ

The modifiers public, private, and protected controll access to the modified member. A public member can be accessed by any class. A private member can only be accessed by the containing class. A protected member can be accessed by the containing class and subclasses.