1) What is an API?
An API (Application Programming Interface) defines the possible interactions with a software component. It includes information on WHAT you can do and HOW you can make it do it. But doesn’t explain what happens inside.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
TwitterAPI is a web-based API, used to interact with the public data of twitter (example: Check how much likes you have) data is sent in JSON
JavaAPI is a library with a list of components that are regulary used, making the programmers life easier
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
You can buy energy drinks ready made saving you the hassle of mixing water and powder. (in this case the powder is also an abstraction, the powder is ready made. You don’t have to go out and buy every ingredient separate, grind it up weigh it out, …)