Home | Ajax | BioInformatics | Dojo | EAI | EJB | Hibernate | J2ME | Java | Java Glossary | Java Servlets | JavaScript | Jboss | JDBC | JDO | Jmeter | JSF | JSP | JUnit | Maven | MySQL | Spring Framework | SQL | Struts | Technology | WAP | Web Services | XML


 
  
 
Programming Tutorials: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML
 

 
Facing Programming Problem?
Ask Questions?, Browse Latest Questions, Question-Answer Guidelines
Java
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification
  Java Applet
Questions
Comments

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

                         

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 
Latest Searches:
Hibernate Mapping

struts tutorial downlo
draw recursive
reading file from html
mouse event click
managed code in sql
toplink
player in java applet
D�����?velop
servlet and session
handling mouse event
mysql primary key,fori
saveOrUpdate
sum
minimize function
Collection from JSP to
calculating prime numb
Struts File Download E
video player in java a
java.oi.package progra
customisecssinjsp
Java code for media pl
online shopping projec
increase size of strut
c programming
download
reading file from html
programofusernameandpa
magic square
socket program usign s
Photoshop Photo Effect
MySQL Select Statement
JSP programmes
writing ByteArray into
rectangles in java
enabling
Topic
check box
instance class
index jstl
java program for permu
sending a mail through
remote system host nam
dialog
Mirror finishes
recursive drawing
tree component web jav
upload file through se
à¸??à¸??à¸??à¸??à¸???à
sample notepad source
linkedlist <E>
login database
jdk1.4features
MPEG4/MP3 Streaming En
what are front end and
java games.
Javadoc
json lib/componen...]=
Photoshop Photo Retouc
LinuxCaixaMÑ?â??â??â?¬
free source jsp n serv
upload file through se
Linux Caixa Mะ�ะ
�г???????�г?????
java mail api
header footer menu bod
delete data in mysql d
JScrollPane
Uploading Employee Pro
IPO Charts
Eclipse3.4EJB
saving files under fol
Numbers
HOW TO counting billio
Java in Flex
j2me stringItem hyperl
c:forEach
SAVING CSV FILE IN JAV
types of exceptions
Java String toLowerCase Example
Java String toCharArray Example
Java String substring Example
Java String indexOf Example
Java String startsWith Example
Java String hashCode Example
Java String matches Example
Java String length Example
Java String lastIndexOf Example
Java String isEmpty Example
Java String equalsIgnoreCase Example
Java String equals Example
Java String endsWith Example
Java String copyValueOf Example
Java String contentEquals Example
  EAI Articles
  Java Certification
Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

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