![]() |
subject > programming language construct > data item > variable |
![]() ![]() | ||||
variable | ||||
subject | fact |
variable | can contain different classes of objects depending on the type of the variable | ![]() |
can refer to a particular object, several different objects during the execution of a program, or no object at all | ![]() | |
has definition A place where you can put data | ![]() | |
has scope | ![]() | |
has type | ![]() | |
is a subtopic of 2.3 - Instance Variables | ![]() | |
is a kind of data item | ![]() | |
should have comment if it is non-obvious | ![]() |
Kinds of variable :