Qus:    What are the advantages of Packages in Java?
Feb 10, 2021 08:27 1 Answers Views: 419 RANJIT
Prev Next
Answers (1)
JOSHUA Feb 11, 2021 09:34
Answer:   There are various advantages of defining packages in Java.
o Packages avoid the name clashes.
o The Package provides easier access control.
o We can also have the hidden classes that are not visible outside and used by the package.
o It is easier to locate the related classes.

Post Your Answer
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect