+ 5
What is pakages
3 Réponses
+ 3
Think of it as a folder that contains all the classes.
+ 1
Collection of related classes in a folder or compressed archive.
+ 1
Typically, Java classes are combined in packages. Packages allow you to organize classes logically into sets. By default, java already has a number of built-in packages, for example, java.lang, java.util, java.io, etc. In addition, packages can have nested packages. The organization of classes in the form of packages avoids the conflict of names between classes. After all, there are often situations when developers call their classes the same name. Belonging to the package makes it possible to guarantee unambiguous names