Java   View all facts   Glossary   Help
syntactic unit > declaration > object declaration
Next declarationpackage statement    Updeclaration    Previous declarationmethod declaration   

object declaration
subjectfact 
object declarationdoes not create a new objectadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:33.0
has example
Rectangle rect; 
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:33.0
has purpose to declare an object, without actually creating itadded by: JK, 2001-10-19 11:37:33.0
has syntax
type name
where type may be the name of a class or an interface
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:33.0
is a subtopic of Objects2001-10-19 11:37:33.0
is a kind of declarationadded by: JK, 2001-10-19 11:37:33.0
declarationis part of definition2001-10-19 11:36:35.0
syntactic unithas syntax rule
bold = mandatory
italic = non-terminal
normal font = optional
2001-10-19 11:38:04.0