Class variable
Appearance
In computer science's object-oriented programming, class variables contains information that is shared by all instances of a class. If all tanks have one cannon then it is not necessary to specify an instance variable for each tank object (object-oriented programming); rather, one cannot simply define a class variable and thus all instances of the class will share the variable.