This chapter explores the issues related to the situation that occurs when a class contains static data members and/or static member functions.
Static class members are data and functions that are associated with the class itself, rather than with the objects of the class.
In the following example, class
Fred has a static data member
x_ and an instance data member
y_. There is only one copy of
Fred::x_ regardless of how many
Fred objects are created (including no
Fred objects), but there is one
Fred object. Thus
x_ is said ...