D.8 Java API Packages
As you’ve seen, Java contains many predefined classes that are grouped into categories of related classes called packages. Together, these are known as the Java Application Programming Interface (Java API), or the Java class library. A great strength of Java is the Java API’s thousands of classes. Some key Java API packages used in this book’s appendices are described in Fig. D.4, which represents only a small portion of the reusable components in the Java API.
Fig. D.4 Java API packages (a subset)
Package | Description |
---|---|
java.awt.event |
The Java Abstract Window Toolkit Event Package contains classes and interfaces that enable event handling for GUI components in both the java.awt and javax.swing packages. |
java.io ... |
Get Android How to Program, 3/e now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.