I am a little bit confused about the meaning and the differences between these three terms.
- Interfaces
- APIs
- Public classes
I asked before if there is any difference between APIs and Public classes. Here is the question: Public methods vs public APIs
I got it, but now with the new concept Interface, I got confused again about the differences between Interface and API and Public class, so to make things clearer, let's see this sentence:
Information hiding allows developers to work on modules separately, without needing other developers to know the implementation details of the module they are working on. The module is instead used through its interface.
What is the meaning of interface here? Is it the same as public class?