Java Reference
In-Depth Information
package com.sun.games;
class Card {
// ...
}
If a package is not specified via a package declaration, the class is made
part of an unnamed package. An unnamed package may be adequate
for an application (or applet) that is not loaded with any other code.
Classes destined for a library should always be written in named pack-
ages.
 
Search WWH ::




Custom Search