1.3 The Hidden Implementation
Access control enables users to solve their particular problems without thinking about the inner construction. Also, it allows the programmer to update the internal working without worrying about how the change will affect the client programmer.
Java Has Three Keywords To Set The Boundaries: Public, Private and protected.
Protected ACTS LIKE PRIVATE, Excepter That An Inheriting Class Has Access To Protected Members, but not private members.
"Friendly" Access Allows Classes to Access The Friendly Members of Other Classes in The Same Package.