Core Java - [API]

♠ Posted by Unknown in at 21:11

Java API (Application Programming Interface)


The Java Application Programming Interface – JDK 1.1 API - consists of 477 classes and 22 interfaces that are grouped into 25 packages, such as java.awt, java.lang, java.applet, java.util, java.io, and java.net.
These classes provide an interface that allows Java programs to interact with the system:

1. java.lang :- Contains core Java classes – such as Object, String, System, Math, Number – and its subclasses – Character, Boolean, Byte, Short, Integer, Long, Float and Double. This package is implicitly imported to every Java program.

2. java.awt :- Contains classes for drawing geometrical objects and for creating and managing the graphical user interface components – such as windows, frames, panels, menus, buttons, fonts, lists, and many others.

3. java.awt.event :- Contains classes for handling events in graphics programming.


4. java.applet :- Contains classes for supporting applets.


5. java.io :- Contains classes for input and output streams and files.


6. java.util :- Contains many utilities – such as date, system properties, vectors, hashing, and stacks.


7. java.text :- Contains classes for formatting information, such as date and time, in a number of formatting styles that are based on a language, country, and culture.


8. java.net :- Contains classes for supporting network communications.


9. java.sql :- Contains classes for accessing relational databases.


10. java.rmi :- Contains classes for supporting remote method invocation.

0 comments:

Post a Comment