+ 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.

16th Apr 2017, 8:08 PM
Alexandros
Alexandros - avatar
3 Respuestas
+ 6
Yes, System.out.println is a part of the Java API.
16th Apr 2017, 8:31 PM
Tamás Barta
Tamás Barta - avatar
+ 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. 
16th Apr 2017, 8:18 PM
Sven
Sven - avatar
+ 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
16th Apr 2017, 10:08 PM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar