article

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



 

This article is licensed under the GNU Free Documentation License. It uses material from the "Instance variable".

Home Pageartsbusinesscomputersgameshealthhospitalshomekids & teensnewsphysiciansrecreationreferenceregionalscienceshoppingsocietysportsworld