Question: Write a class in C++ for employee with private empId and empname; constructor and getter methods. Derived classes Full time employee with private salary and
Write a class in C++ for employee with private empId and empname; constructor and getter methods. Derived classes Full time employee with private salary and constructor and getter methods. Part time employee with private daily wage and constructor and getter methods. In the main function, create part time employee and full time employee and call getter to display.
Step by Step Solution
3.42 Rating (174 Votes )
There are 3 Steps involved in it
include include class Employee int Id char Name25 in... View full answer
Get step-by-step solutions from verified subject matter experts
