Computer Science, asked by Anonymous, 1 year ago

define package of java

Answers

Answered by AKASHDIPDAS
1
In Java, a collection of related classes and interfaces is called java package. The default package of java is java.lang
Answered by abhisharma50
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.


abhisharma50: oww
abhisharma50: this is your mobile
abhisharma50: ooo
abhisharma50: u have any bf
abhisharma50: just asking
abhisharma50: ok by
Similar questions