Object Oriented Programming010 marksSingle-level inheritance
Create a class Employee with private data members Eid, Ename, and Salary. Include public member functions to 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 displ
Create a class Employee with private data members Eid, Ename, and Salary. Include public member functions to 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]
This problem demonstrates single inheritance in C++, where: - Employee is the base class (parent) - Typist is the derived class (child) that inherits from Employee - Private members of base class are accessed through public member functions --- --- --- Feature Description ------ Private members E...