define package of java
Answers
Answered by
1
In Java, a collection of related classes and interfaces is called java package. The default package of java is java.lang
Answered by
1
Packages are used in Java in order to prevent naming conflicts, to control access, to make searching/locating and usage of classes, interfaces, enumerations and annotations easier, etc.
A Package can be defined as a grouping of related types (classes, interfaces, enumerations and annotations ) providing access protection and namespace management.
A Package can be defined as a grouping of related types (classes, interfaces, enumerations and annotations ) providing access protection and namespace management.
abhisharma50:
oww
Similar questions
Math,
7 months ago
Social Sciences,
7 months ago
English,
1 year ago
Physics,
1 year ago
Science,
1 year ago