Collectively, the methods and variables defined within a class are called members of the class . Declaration of Instance Variables : Variables defined within a class are called instance variables because each instance of the class (that is, each object of the class) contains its own copy of these variables.