HELP! * GREY=local LOCAL HTML version of Foils prepared January 8,96

Foil 38 Java Language -- Packages

From Overview of Java SC95 Tutorial on Web Technologies -- December 4,95. by NPAC Team * See also color IMAGE

Classes in one or more compilation units can be grouped together and form a package.
This is realized by the package statement, placed at the beginning of the compilation unit.
A class Fred in package foo can be referenced by its full name foo.Fred, or by its local name Fred, after including the package import statement import foo;
Packages can be nested. For example, a HTML Parser class has the following full name: net.www.html.Parser
The initial alpha3 release of Java/HotJava is organized as 12 packages and it contains ~250 classes.



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Feb 18 1997