January 2018
Intermediate to advanced
115 pages
1h 37m
English
There are four access levels available in Java: public, protected, private, and package-private. Package-private isn’t explicitly declared using a keyword. Instead, it’s the default access level for every member in Java:
The most restrictive access level is private. Members with this level can only be used inside of the enclosing (containing) class: