Write a note on package.
Answers
Answered by
2
Hello Mate,
Package in Java is a mechanism to encapsulate a group of classes, sub packages and interfaces. Packages are used for: ... For example there can be two classes with name Employee in two packages, college.staff.cse.Employee and college.staff.ee.Employee.
Hope this helps you
Similar questions