Computer Science, asked by neerchaudhary9, 8 months ago

what is Java package? ​

Answers

Answered by ItzSecretBoy01
1

Answer:

A package in Java is used to group related classes. Think of it as a folder in a file directory. We use packages to avoid name conflicts, and to write a better maintainable code. ... Built-in Packages (packages from the Java API) User-defined Packages (create your own packages

Answered by accdcsk
6

Answer:

A package in Java is used to group related classes. Think of it as a folder in a file directory. We use packages to avoid name conflicts, and to write a better maintainable code. ... Built-in Packages (packages from the Java API) User-defined Packages (create your own packages)

Similar questions