Question: Add Payroll Management Add interface Payable which defines pay abstract method Update the Employee classes to implement Payable and remove the method as being abstract

Add Payroll Management
Add interface Payable which defines pay abstract method
Update the Employee classes to implement Payable and remove the method as being abstract in the Employee class
Leave the Employee class as abstract
Standardize Departments
Change Department to use an enumeration with the following values: TECHNOLOGY, SALES, EXECUTIVE
Override the toString() method in the enumeration to return the department in camel case format (first letter capitalized)
Remove all exceptions from Employee as no longer required
New Class of Employees
Add a new class for SalaryPlusCommissionEmployee
It is a subclass of SalaryEmployee.
It includes an instance variable commission percent as a double.
The pay includes commission given as percentage of weekly salary: salary = weekly salary +(weekly salary * commission percent)
Class Requirements:
New class must be SalaryPlusCommissionEmployee in the
unex.hr package
Payable interface must be named Payable in the
unex.hr package
Enumeration must be named Department in the
unex.hr package
Demo class must be named EmployeeDemo in the unex.hw package
Feel free to add any other methods that may be useful
DEmo Requirements:
Add using the new SalaryPlusCommissionEmployee to the demo from last assignment. Update the demo to use the Department enumeration.
Extra Credit:
For an additional 20 points, create the UML diagrams for the classes used in your program. Generate images or PDF for the diagrams and submit these as an additional zip file. Do not include these in your project export as I may not see them. This should include the classes in the
unex.hr package only.
Add Payroll Management Add interface Payable

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 Programming Questions!