Instance variable
Encyclopedia : I : IN : INS : Instance variable
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
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
