0
What are the advantages of Packages in Java?

Open 1 Answers 43 Views Education
What are the advantages of Packages in Java?

1 Answer

0

What are the advantages of Packages in Java?

There are various advantages of defining packages in Java.

Packages avoid the name clashes.

The Package provides easier access control.

We can also have the hidden classes that are not visible outside and used by the package.

It is easier to locate the related classes.

by (54.6k points)
...