Question: In C + + Build andCreate an Employee class. Some instance methods that the class should include are: 1 . Change the name 2 .

In C++ Build andCreate an Employee class. Some instance methods that the class should include are:
1. Change the name
2. Get the name
Additionally, define two classes: Hourly Employee and Commission Employee. Objects of the Hourly Employee class should implement operations to change and get the hours worked, change and get the hourly wage, calculate the salary (no overtime), and print their information. The Hourly Employee class inherits from the Employee class. Objects of the Commission Employee class should implement operations to change and get the sales made, change and get the commission percentage, calculate the salary, and print their information. The Commission Employee class inherits from the Employee class. All classes should implement their respective constructors with the corresponding parameters. **Reminder: The Employee class is an abstract class and can be used as a superclass for other classes.**
Mandatory: Classes should have Operator=,Operator==,Operator<<, Constructor, Copy Constructor, Destructor, Getters and setters, display method, friends.
Topics discussed and allowed to use in this problems, Arrays, pointers, Inheritance

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!