Question: Assignment Title: Employee Management System Implementation in Java Instructions: In this assignment, you are required to create a Java program that implements an Employee Management

Assignment Title: Employee Management System Implementation in Java
Instructions: In this assignment, you are required to create a Java program that implements an Employee
Management System using object-oriented principles. The system should consist of the following classes:
Employee Class:
Attributes: employeeID, name, department, salary, designation
Methods:
Accessor and mutator methods for all attributes
equals method to compare employees based on their designations
addBonus method to calculate the salary with a default bonus of $200? month
Manager Class (Subclass of Employee):
Methods:
Override the addBonus method to calculate the salary with a bonus of $300? month
Clerk Class (Subclass of Employee):
Methods:
Override the addBonus method to calculate the salary with a bonus of $100? month
Main Class:
Testbed for the system
Create instances of Employee, Manager, and Clerk with sample data
Demonstrate the use of methods like display, addBonus, and calculateDeductions
Calculate and display the total deductions for all employees based on their leave records (considering 20 working days per month)
Your program should showcase the following concepts:
Inheritance: Use of subclass (Manager and Clerk) extending superclass (Employee)
Method Overriding: Override the addBonus method in subclasses to customize behavior
Polymorphism: Use of overridden methods to achieve different behaviors based on the object's type
Submit your Java program with appropriate comments and test cases to demonstrate the functionality of the Employee Management System.
 Assignment Title: Employee Management System Implementation in Java Instructions: In this

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!