The Java Class Library

Java contains an extensive library of pre-written classes you can use in your programs. These classes are divided into groups called packages.

The Java 1.1 packages

Each package defines a number of classes, interfaces, exceptions, and errors.

Packages can be split into sub-packages. for example, the java.lang package has a sub-package called java.lang.reflect. These are really completely different packages. A class in a sub-package has no more access to a class in the parent package (or vice versa) than it would to a class in a completely different package.


Previous | Next | Top | Cafe au Lait

Copyright 1997, 1999, 2001 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified June 27, 2001