• Dear Guest, Please do NOT forget to join our JAVA JOBS (ONLY) FACEBOOK GROUP to be aware of latest JAVA openings, and you may also post any JAVA related queries/jobs.

What is Package in Java ?

#1
A Package is a namespace that contains a set of related classes and interfaces.

Basic Packages :

java.lang : Fundamental classes are presnt in this package.
java.io : classes for reading and writing (input and output) are presnt in this package.
 
#4
A Package is a namespace that sorts out an arrangement of related classes and interfaces. Adroitly you can consider bundles being like diverse organizers on your PC. You may keep HTML pages in a single organizer, pictures in another, and contents or applications in yet another.
 
Top