member variable of the base class get the value from the derived class.

Printable View