Topics
Important Points
1
Classic Questions
2
3
API
An Application Programming Interface (API) specifies the interface through which other programs can interact with a software component. It is a contract between the component and its clients.
For example, a class has an API (e.g., API of the Java String class, API of the Python str class) which is a collection of public methods that you can invoke to make use of the class.
Choose the correct statements.
Private methods cannot be a part of the API.
Last updated
