Q What is an API?
1 An API specifies interactions with software components. It’s the what and the how mechanisms of communication between servers and clients across the web and mobile applications. It’s fundamental base is a subset of components that aid software development which eases and hides the complexity of such a class functions.
Q In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
2 The main difference between these two is with Java, the API is a functional component within the JDK that developers can use when building software. A class. Similar to a file library. Software that allows other software to communicate with it within the Java Development Kit.
With for eg a Twitter API the communication is more specific in terms of what you can do with twitter such as search for someone via hashtags, geographic buttons, send buttons, likes etc. It is more of a direct interaction communication function for navigating around social media.
If you haven’t done yet, check out REST API’s for more clarification.
Q The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
3 One example of a simple abstraction would be sending an email and getting a reply then acting upon that reply. Simply send a message in minutes by the click of a button. Receive the reply by the click of a button and act upon it
vs
Getting pen and paper, going to the shop to buy envelopes, spend half hour writing a letter, going to the post box, waiting days for a reply before acting upon it.
Q What is an API?
1 An API specifies interactions with software components. It’s the what and the how mechanisms of communication between servers and clients across the web and mobile applications. It’s fundamental base is a subset of components that aid software development which eases and hides the complexity of such a class functions.
Q In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
2 The main difference between these two is with Java, the API is a functional component within the JDK that developers can use when building software. A class. Similar to a file library. Software that allows other software to communicate with it within the Java Development Kit.
With for eg a Twitter API the communication is more specific in terms of what you can do with twitter such as search for someone via hashtags, geographic buttons, send buttons, likes etc. It is more of a direct interaction communication function for navigating around social media.
If you haven’t done yet, check out REST API’s for more clarification.
Q The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
3 One example of a simple abstraction would be sending an email and getting a reply then acting upon that reply. Simply send a message in minutes by the click of a button. Receive the reply by the click of a button and act upon it
vs
Getting pen and paper, going to the shop to buy envelopes, spend half hour writing a letter, going to the post box, waiting days for a reply before acting upon it.