How many packages available in java?

Java

1 answer

Answer

1224977

2026-07-09 08:40

+ Follow

Java
Java

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.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.