Origins of Java (sidebar 2.1) 1)
Packages 2)
p must begin with the declarationpackage p;
and must be stored in a subdirectory called p.
package declaration belongs to the anonymous default package.
package declarations.
C within package p may be imported explicitly using
import p.C;
or all classes within package p may be imported using wildcard notation:
import p.*;
Objects and Variables 3)