Using Your Parents
Imagine employee::print() prints generic information about an employee such as age, salary, etc. We want manager::print() to supplement employee::print(), not replace it. This is possible:
cout << “Age is “ << age << “; salary is “ << salary << “.\n”;
cout << “Managerial level is “ << level << “.\n”;