Question:
I'm a layman in coding. What is API and what's its purpose.?
abhiisthebest
2007-04-09 23:43:35 UTC
need to know cos i'm working on a project for an IT company and have to know how it could improve the interface.
Three answers:
amit chat
2007-04-10 00:11:41 UTC
An API

U seem very new to Java

Well API is the short for Application Programs Interface.

All java classes are defined in Java APIs

For example Java.lang , java.io, java.awt.

can be called as APIs.

And there are classes defined in these APIs.

So whenever U need to access any class , U need to import that API in which that class is defined.

Well Practise and visit SUN's site for more info

Bye TC
tissot_swiss
2007-04-10 00:45:56 UTC
hey



Just want to add one more point ... Application Programming Interface was popular from VB era and not from Java ....



API is a set of routines that an application uses to request and carry out lower-level services performed by a computer's operating system. Also, a set of calling conventions in programming that define how a service is invoked through the application.

In other words,

An API allows programmers to access the functionality of a pre-built software module through well-defined data structures and subroutine calls.



Thanks
anonymous
2007-04-09 23:47:54 UTC
An application programming interface (API) is a source code interface that a computer system or program library provides in order to support requests for services to be made of it by a computer program.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...