Difference between revisions of "Ключова дума package в Java"
Jump to navigation
Jump to search
(Created page with "package is a Java keyword. It declares a 'name space' for the Java class. It must be put at the top of the Java file, it should be the first Java statement line. To ensure th...") |
(No difference)
|
Latest revision as of 11:54, 25 August 2021
package is a Java keyword. It declares a 'name space' for the Java class. It must be put at the top of the Java file, it should be the first Java statement line.
To ensure that the package name will be unique across vendors, usually the company url is used starting in backword.
Syntax:
package package;