Basic HTML version of Foils prepared July 6 99

Foil 34 Packages

From Use of Java Language in Computational Science DoD Modernization Users Group Conference Monterey -- June 7 99. by Nancy McCracken, Geoffrey C. Fox


1 A package is a collection of classes.
2 Java directly associates the names of classes and packages with the directory (folder) structure:
  • A package must in be a directory or folder of that name
  • A public class must be in a file of that name. Note that a file may contain other (non-public) classes.
3 Packages of classes may be defined by users as well as forming the structure of the remaining Java libraries.
4 What we have seen so far is all there is to the base language Java (with the exception of Exceptions!). All of the rest of Java functionality comes as classes defined in packages that come with the language.

in Table To:


© 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 Jul 6 1999