in JAVA by
What are the advantages of defining packages in Java?

1 Answer

0 votes
by

By defining packages, we can avoid the name conflicts between the same class names defined in different packages. Packages also enable the developer to organize the similar classes more effectively. For example, one can clearly understand that the classes present in java.io package are used to perform io related operations.

...