Java   View all facts   Glossary   Help | 
| syntactic unit > declaration > object declaration | 
| object declaration comparison table | |||||||
| Subject | have syntax | have example | has definition | create | have purpose | is a subtopic of | is a kind of | 
|---|---|---|---|---|---|---|---|
| declaration | 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 | ||||
| object declaration | type namewhere type may be the name of a class or an interface  | Rectangle rect;  | a new object | to declare an object, without actually creating it | Objects | declaration | 
Next declaration: package statement     Up: declaration    Previous declaration: method declaration