Introduction to OOP: Chapter 20 : A Second Look at Classes
[next]
[previous]
[audio]
[real]
[text]
Class Data
Often it is useful to have a single data area
shared
by all instances of a class.
Known as a class variable.
Important problem - who initializes this value?
Mechanism is very different in different languages - set discussion in text.
Intro OOP,
Chapter 20
, Slide 9