C : class variable

class variable

A variable that all instances of a class share. An object-oriented environment makes only one copy of a class variable. The value of the class variable is the same for all instances of the class, for example, the taxRate variable in an Order class.

Related terms

class, object-oriented programming, value, variable


(c) Copyright Actuate Corporation 2011