packages

 

  java.lang is the only automatically included package.  All others require import statements.

 

  Only one package statement is allowed per class.

           

  The package statement, if present, must be the first non-comment statement. 

 

  The package statement may contain the classname with a dot.  i.e.

 

package mypackage.MyClass;