Computer Science, asked by kumarinishi, 6 months ago

what is java package? give examples.​

Answers

Answered by nallagondurevanth510
2

Answer:

follow me

Explanation:

Package in Java is a mechanism to encapsulate a group of classes, sub packages and interfaces. Packages are used for: Preventing naming conflicts. For example there can be two classes with name Employee in two packages, college.

Answered by Anonymous
1

Answer:

Package in Java is a mechanism to encapsulate a group of classes, sub packages and interfaces. Packages are used for: Preventing naming conflicts. For example there can be two classes with name Employee in two packages, college.

hope this helps you...!!☺️❤️

Similar questions