Write a class in C++ for employee with private empId and empname; constructor and getter methods. Derived
Fantastic news! We've Found the answer you've been seeking!
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 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.
Related Book For
Posted Date: