Initialization of static variables (cont'd from previous slide)

In C++, static variables cannot be initialized inside the class.

A global initializer is used to initialize the class variable in Listing 2 using the following global statement:

int Variables02::aStaticVariable = 0;