Interview Question
Qus: What are the advantages of Packages in Java?
Answers (1)
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.