Instance variable

From Free net encyclopedia

In object-oriented programming, an instance variable or data member is the data encapsulated within a class or object. In other words, each instance of the object retains a unique value for each instance variable in the class, as opposed to the class having one variable that each instantiation shared—a class variable.

See also