Core Java| JSP| Servlets| XML| EJB| JEE5| Web Services| J2ME| Glossary| Questions?

 

 

 

 

 

 

 

 

 

 

 

 

 

Search Tutorials

Latest Questions
Comments
 
Package categories in Java 
 

Package categories in Java

 

Package categories in Java

                         

Java supports two types of packages as shown below in the hierarchy structure:

Build-In Packages in Core Java:

Java packages can be categorized in the hierarchy structure shown as:

Packages in the Java language begin with "java" or "javax" as we can found in both hierarchy structure shown above. Note that, the package "java" also has subpackages in which the package "awt" is further has a subpackage called "event" that is imported to access classes and interfaces to handle the events fired on the awt-component in a program. Thus the the expression to import the package is shown as"

import awt.event.*;   

Lets understand these java packages shown in the table, from which you can access interfaces and classes.

 Package Name  Description
 java.lang It contains essential classes that represent primitive data types (such as int & char) 
as well as more complex classes, including numerics, strings, objects, compiler, 
runtime, security, and threads. This is the only package that is automatically imported
 into every Java program.
 java.io This package provides classes to manage input and output streams to read data from
 and write data to files, strings, and other sources.
 java.util It contains miscellaneous utility classes, including generic data structures, bit sets, time,
 date, string manipulation, random number generation, system properties, notification,
 and enumeration of data structures.
 java.awt It provides an integrated set of classes to manage user interface components such as 
windows, dialog boxes, buttons, checkboxes, lists, menus, scrollbars, and text fields. 
 java.net It provides classes for network support, including URLs, TCP sockets, UDP sockets,
 IP addresses, and a binary-to-text converter.
 java.applet It enables the programmer to create applets through the Applet class. It also provides
 several interfaces that connect an applet to its document and to resources for playing audio.
 java.nio This package handles New I/O framework for Java  
 java.math This package includes various mathematical operations.
 java.security It is used for key generation, encryption and decryption.
 javax.swing It is used for hierarchy of packages for platform-independent rich GUI components.
 java.sql It provides classes to support connectivity from JDBC to access databases

                         

» View all related tutorials
Related Tags: c class io nested definition source while ini member e il it not init art ce in no part as

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Training Courses
Tell A Friend
Your Friend Name
Software Solutions
Least Viewed
Most Rated
Recently Viewed
Search Tutorials

 

 
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India | Flex Development Company in India | Java Training Delhi | Java Training at Noida |

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.