previous | start | next

Syntax 9.2: Package Specification

 
package packageName;

Example:

 
package com.horstmann.bigjava;

Purpose:

To declare that all classes in this file belong to a particular package


previous | start | next