Java class design.pdf
The default access level
This is the access level which will be provided by default when we do not manually specified an access
level to a method or to a field. Method or field with default access level can be only accessed within the
package they are in.
The private access level
This is the most restricted access level. Methods or fields which are marked with private can only be
accessed within the class.