What is a Java Package and how is it used?

What is a Java Package and how is it used?

Renol
Views: 1257 | Community Opinion: 2

Tags..  Core Java interview  Java  Java Package

Bookmark this page..



Ask a New Question Go to Home

Community Opinion/Answers
 
Amrish Said..

A Java package is a naming context for classes and interfaces. A package is used to create a separate name
space for groups of classes and interfaces. Packages are also used to organize related classes and interfaces
into a single API unit and to control accessibility to these classes and interfaces.




Amrish Said..

A Java package is a naming context for classes and interfaces. A package is used to create a separate name
space for groups of classes and interfaces. Packages are also used to organize related classes and interfaces
into a single API unit and to control accessibility to these classes and interfaces.






What do you think? Add your opinion/answer
*Name
*your opinion/answer: