- Tech know how online

Instance variable

Instance variable is a term used in object-oriented programming (OOP). It is a variable that is assigned to an instance of a class. An instance variable is therefore an attribute of a class that is created each time this class of the new object is instantiated. Instance variables have the same lifetime as the object to which they are assigned. The current values of the instance variables of an object describe the object state.

Informationen zum Artikel
Englisch: Instance variable
Updated at: 29.11.2009
#Words: 74
Translations: DE