Java   View all facts   Glossary   Help
syntactic unit > declaration > object declaration
Next declarationpackage statement    Updeclaration    Previous declarationmethod 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 Typessyntactic unit
object declaration
type name
where type may be the name of a class or an interface
Rectangle rect; 
 a new objectto declare an object, without actually creating itObjectsdeclaration

Next declarationpackage statement    Updeclaration    Previous declarationmethod declaration