![]() |
subject > programming language construct > data item > variable > variable declared as a non-primitive data type |
![]() ![]() | ||||
variable declared as a non-primitive data type | ||||
subject | fact |
variable declared as a non-primitive data type | contains an instance of a class | ![]() |
is a subtopic of The Basics of Java | ![]() | |
is used by calling methods or accessing the object's instance variables | ![]() | |
is a kind of variable | ![]() | |
uses the name of a class as their type | ![]() | |
variable | can refer to a particular object, several different objects during the execution of a program, or no object at all | ![]() |
has scope | ![]() | |
has type | ![]() | |
should have comment if it is non-obvious | ![]() |