Object Variables

A variable usually stores a value directly, but an object variable can refer to an object. You assign an object to a variable for the same reasons that you assign a value to a variable:

Shorter code

TODO

See also