Object Oriented Programming - Old Questions

1. Create a class Employee with private data members Eid, Ename, and Salary. Include public member functions read and display value of data members. Derive a class names typist from above class. The class should contain a private data member typing speed and public member functions to read and display values of data members. Finally create two objects of typist class and read and display their values.

10 marks | Asked in 2078