1) What is an API?
An API (Application Programming Interface) specifies how we can programmatically interact with another software component or resource. It allows communication between different applications.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Java API is a library of components, and you can only access is if you have the Java Development Kit installed, so it’s offline.
Twitter API is a web-based API, and it allows programmers to interact with Twitter data, and uses HTTP protocol in order to interact, so it online.
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
Scanning a key card to unlock my door. I don’t need to use a physical key, nor do I need to understand how the RFID technology works in order for the door to unlock. The keycard is an abstraction, simplifying the process of unlocking a door.