1) What is an API?
An API (Application Programming Interface) is a specification of interactions between different software components. APIs could exist to interface between software components locally on the same machine. APIs which are available to be used/interacted with over the Internet are called Public APIs where a developer could write code which utilizes different vendors’ code online.
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 software components made available in the Java Development Kit which implements common tasks to increase efficiency and productivity of developers while coding JavaScript. Twitter API is a web-based JSON API which allows developers to interact with Twitter data and services over the Internet.
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
I am feeling hungry and feel like having a Big Mac. I make an order on the McDonald’s app for a Big Mac Meal which charges my credit card and my meal is delivered to me without me knowing what’s happening behind the scenes.