Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

About API  RSS feed

 
ShivaKumar Singani
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What actually an API is?
Why there are more than one API in Java itself?
 
Bob Ruth
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
API is Application Programming Interface. In it's generic sense it means that it is a specification for writing code to use some software package that you want to use. In other words, anything that you need to do to write code that uses some particuar software package. It might define certain variables or data structures that have to be set up, it defines all of the methods required to initialize and then actually use the functionality within that package.

There are many differenct APIs because there are many many different software packages/facilities out there to be used.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16026
87
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See the Wikipedia definition: Application Programming Interface

The term "API" is not specific to Java.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!