Packages


To make all the classes from a "package" available to a source file, the "import" keyword is used. For example:
   import java.applet.*
   import java.awt.*
   import java.util.*

Note that the "java.lang" package is always imported automatically, so there is no need to specify it explicitly.