Home Segments Index Top Previous Next

170: Mainline

A variable is a name that refers to an object. The object referred to by a variable is said to be that variable's value. As it may in all programming languages, a variable's value may change, but in contrast to the conventions of many programming languages, such as C, a variable's value may change not only to another instance of the same class, but also to an instance of another class.