I'm reading the first chapter of Algorithm (and the first two chapters of Introduction to Programming in Java) by Sedgewick and Wayne. I don't understand what an API means. The following is an excerpt from the book:
An example is given as follows:
Here are my questions:
An API is the interface to a code library. It consists of the objects and methods used to interact with a library.