Java View all facts Glossary Help |
syntactic unit > declaration > import statement |
import statement comparison table |
Subject | terminate by | have syntax | have example | be part of | have purpose | has definition | be | is a subtopic of | is a synonym of | is a kind of | import | locate |
---|---|---|---|---|---|---|---|---|---|---|---|---|
declaration | definition | A statement that establishes an identifier and associates attributes with it, without necessarily reserving its storage (for data) or providing the implementation (for methods) | Variables and Data Types | syntactic unit | ||||||||
statement | a semicolon | A syntactic unit that defines a step in the execution of a program | not more than one line long if possible | Statements and Expressions | syntactic unit | |||||||
import statement | a semicolon | import packageName.* | //Import the Circle class from the graphics package | definition | to allow a class to use the facilities of another package | A statement that permits using references to other packages without prefixes | not more than one line long if possible | Packages | import declaration | statement | 1 member class of a package or imports on demand 0 or more member classes from a package |
|
Next declaration: interface declaration Up: declaration, statement Previous declaration: class declaration