+ 2
API explanation in java
I need help. One thing i cant understand is what API is. For example is System.out.println a part of the api? If you can explain with simple words what it is.
3 Answers
+ 6
Yes, System.out.println is a part of the Java API.
+ 4
The API ( Application Programming Interface ) is a set of functions.
It follows a quote from Wikidedia:
In general terms, it is a set of clearly defined methods of communication between various software components. A good API makes it easier to develop a computer program by providing all the building blocks, which are then put together by the programmer. An API may be for a web-based system, operating system, database system, computer hardware or software library. An API specification can take many forms, but often includes specifications for routines, data structures, object classes, variables or remote calls.Â
+ 1
API is an application programming interface, in general is every set of methods and tools that is used to write programs. In particular are the methods used to consume a web service. Both definitions are correct, and are the causes of confusion