![]() |
syntactic unit > declaration > import statement |
![]() ![]() | ||||
import statement (import declaration) | ||||
subject | fact |
import statement | is a synonym of import declaration | ![]() |
has definition A statement that permits using references to other packages without prefixes | ![]() | |
has example //Import the Circle class from the graphics package | ![]() | |
has purpose to allow a class to use the facilities of another package ![]() | ![]() | |
has syntax import packageName.* | ![]() | |
imports 1 member class of a package or imports on demand 0 or more member classes from a package | ![]() | |
is a subtopic of Packages | ![]() | |
is located
| ![]() | |
is a kind of declaration | ![]() | |
is a kind of statement ![]() | ![]() | |
declaration | is part of definition | ![]() |
statement | is terminated by a semicolon ![]() | ![]() |
should be not more than one line long if possible | ![]() | |
syntactic unit | has syntax rule bold = mandatory | ![]() |