member variable

A variable that is associated with each instance of a class and can be accessed from all its methods.

Noun

  1. A variable that is associated with each instance of a class and can be accessed from all its methods.

Forms

member variables

Synonyms

data member member field

Related

class variable instance variable

From Wiktionary's contributor community, shared under CC BY-SA 4.0.