Terahertz (THz) is a unit of measure of frequency that is equal to 1 trillion hertz (1012 Hz). It usually refers to the frequency of an electromagnetic wave, which is a part of the electromagnetic spectrum invisible to the naked eye that lies in between the microwave and the infrared range. T-rays are an example of a specific part of the spectrum...
An application programming interface (API), in the context of Java, is a collection of prewritten packages, classes, and interfaces with their respective methods, fields and constructors. Similar to a user interface, which facilitates interaction between humans and computers, an API serves as a software program interface facilitating interaction.
In Java, most basic programming tasks are performed by the API’s classes and packages, which are helpful in minimizing the number of lines written within pieces of code.
Java Development Kit (JDK) is comprised of three basic components, as follows:
The Java API, included with the JDK, describes the function of each of its components. In Java programming, many of these components are pre-created and commonly used. Thus, the programmer is able to apply prewritten code via the Java API. After referring to the available API classes and packages, the programmer easily invokes the necessary code classes and packages for implementation.
The API is a library of available Java classes, packages and interfaces. The three API types are as follows:
The APIs help programmers determine class or package functions, parameters and other necessary information. The official API includes packages, e.g., applet packages, graphics and GUI swing packages, input/output (IO) packages and Abstract Windows Toolkit (AWT), among others.
There are three frames when an API starts, as follows:
Read More »
Join 138,000+ IT pros on our weekly newsletter
Home | Advertising Info | Write for Us | About | Contact Us
2010 - 2015
Partner Sites :