Package Access Protection
Classes within a package can access classes and members declared with default access and class members declared with the protected access modifier. Default access is enforced when neither the public, protected nor private access modifier is specified in the declaration. By contrast, classes in other packages cannot access classes and members declared with default access. Class members declared as protected can be accessed from the classes in the same package as well as classes in other packages that are subclasses of the declaring class.
Read more about this topic: Java Package
Famous quotes containing the words access and/or protection:
“Whilst the rights of all as persons are equal, in virtue of their access to reason, their rights in property are very unequal. One man owns his clothes, and another owns a country.”
—Ralph Waldo Emerson (18031882)
“Guns have metamorphosed into cameras in this earnest comedy, the ecology safari, because nature has ceased to be what it always had beenwhat people needed protection from. Now nature tamed, endangered, mortalneeds to be protected from people.”
—Susan Sontag (b. 1933)