Object Oriented Programming - Old Questions

Question Answer Details

2. 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 marks
Asked in Model Question

Answer

AI Generated Answer

AI is thinking...