Java View all facts Glossary Help |
| synonym > package statement |
| package statement (package declaration, package declaration) | ||||
| subject | fact | |||
| package statement | is a synonym of package declaration | ![]() |
| contains package information about the class in the source file | ![]() | |
| has definition A statement that declares the name of the package the file defines | ![]() | |
has example package com.naviseek.canasta | ![]() | |
| has purpose to specify that all classes and interfaces in its file belong to a package | ![]() | |
| has purpose to specify the name of the package to which the compilation unit in which the package declaration is put belongs | ![]() | |
has syntax package packageName | ![]() | |
| is a subtopic of Packages | ![]() | |
| is a synonym of package declaration | ![]() | |
| is a kind of declaration | ![]() | |
| is a kind of statement | ![]() | |
| must be the first statement in the source file except for comments | ![]() | |
| must occur at the beginning of a file | ![]() | |
| declaration | is part of definition | ![]() |
| statement | is terminated by a semicolon ![]() | ![]() |
| syntactic unit | has syntax rule bold = mandatory | ![]() |
Next declaration: parameter declaration Up: declaration, statement, synonym Previous declaration: object declaration