answersLogoWhite

0

A Java package is a mechanism for organizing Java classes into namespaces similar to the modules of Modula. Java packages can be stored in compressed files called JAR files, allowing classes to download faster as a group rather than one at a time. Programmers also typically use packages to organize classes belonging to the same category or providing similar functionality.

· A package provides a unique namespace for the types it contains.

· Classes in the same package can access each other's members.

package is a container in which similar classes are grouped together.

package avoid the redundance of classes. it also provide security to hide the code only by importing the packege which contains the required class.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

For which operating systems are spreadsheet packages available?

Spreadsheet packages are available for various operating systems, such as Windows, Macintosh, UNIX, Java, Linux, and VMS.


How many packages in java and show the list?

There are almost 200 packages in the standard J2SE distribution. Please see the related link below detailing the Java API (for Java 7) for a full listing.


Is header files in c are similar to packages in java?

No.


How packages are created in java?

jvac -d classname.java


What are the different types of package in java?

1.user defined packages 2.predefined packages


What is Packages in Java programming?

basically packages are a collection or a directory of similar classes. there are some inbuilt packages in java which prove to be really useful like the java.lang package which automatically is imported into your program. in addition you can also create your own packages and its really simple to create them! :)


Are there Senior travel packages available for a trip costa Rica?

There are many travel packages available to senior especially if one books through a senior group. Other packages or perks may be available as a result of senior status.


What packages are available at Club Med Ski?

Club Med has many different packages available to choose from. They have packages to exotic places such as Turkey, Brazil or Greece, or you can go to warmer destination in Asia.


Where can Java be used?

Java is a computer programming language, and can work across many different operating systems. Due to its versatility it is used in many software packages, e.g. games, graphic's software, etc.


How to save and compile packages in java?

by adding more documents


Are there family Vietnam vacation packages available?

There are many vacation packages available for a family who want to explore Vietnam. It is recommended that you book tours with reliable companys.


Does Verizon Cable have sports packages available?

Yes, Verizon Cable does offer different sports packages as well as many other packages as well. There are entertainment packages, family packages, student and children packages as well.