0 votes
13 views
What are the advantages of Packages in Java?
in Education by (48.2k points)

1 Answer

0 votes

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 (48.2k points)

Related questions

0 votes
1 answer 20 views
0 votes
1 answer 19 views
0 votes
1 answer 19 views
0 votes
1 answer 22 views
0 votes
1 answer 12 views
0 votes
1 answer 13 views
0 votes
1 answer 15 views
0 votes
1 answer 13 views
0 votes
1 answer 45 views
0 votes
1 answer 12 views
0 votes
1 answer 33 views
0 votes
1 answer 12 views
0 votes
1 answer 28 views
0 votes
1 answer 8 views
8 views asked Dec 6, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 12 views
0 votes
1 answer 13 views
0 votes
1 answer 13 views
13 views asked Nov 8, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 16 views
0 votes
1 answer 16 views
0 votes
1 answer 19 views
...