© S. Uchitel, 2004
The standard Java class library contains 2500+ classes!
This doesn’t include the thousands of classes on the Web!!!
We need a mechanism for organising them!
The Solution: Packages
Groups a set of Java classes.
A package may contain other packages: hierarchical naming structure.
java.lang (contains class String and others)
java.util (contains class Random and others)
kenya.io (contains class InputReader and others
uk.ac.ic.doc.su2.university (contains class Lecturer and others)