Java Packages

The Java technology provides a rich suite of packages that helps in easy development. Following are some popular packages.

  1. java.applet - used to develop Java applets for use in web applications.
  2. java.awt - The Abstract Windowing Toolkit (AWT) package is used to generate GUI for Windows applications in Java.

  1. This package offers a number of classes for I/O operations.
  2. java.lang - this package includes the Java language classes such as Math, System, Integer etc.

  1. This package supports network and Internet-related classes such as Socket, URLConnection etc.
  2. java.util - this package contains a number of utility classes such as ArrayList, Date, Random, HashMap, Vector, Stack etc.