What Does Application Programming Interface (API) Mean?
An application programming interface (API), in the context of Java, is a collection of prewritten packages, classes, and interfaces with their respective methods, fields and constructors. Similar to a user interface, which facilitates interaction between humans and computers, an API serves as a software program interface facilitating interaction.
Techopedia Explains Application Programming Interface (API)
The API is a library of available Java classes, packages and interfaces. The three API types are as follows: