Application Programming Interface (API)
- The Application Programming Interface comes with the Java compiler.
- It provides routine software.
- Java API includes:
- java.lang: Base language types
- java.io: Streams and random-access files, standard I/O
- java.net: Sockets, telnet interfaces, and URLs
- java.util: container and utility classes
- java.awt--an Abstract Windowing Toolkit
- It is not part of the "language" definition, but almost so.
- It is a family of classes.
- User programs are subclasses of the API.
- User programs can instantiate objects from the API classes.
- It includes things like windows and scrollbars and mathematical operations.
J. Anthony Parker, MD, PhD, Tony_Parker@bih.harvard.edu