Question: This is a Java project. Details Consider you are designing simple employee details system. Create an abstract class EmployeeDetails that shows an employees Common details
This is a Java project.
Details
- Consider you are designing simple employee details system.
- Create an abstract class EmployeeDetails that shows an employees
- Common details such as: name and ID.
- Confidential details such as: salary and performance. (abstract method)
- Create a class HR that implements the above abstract methods.
- Your main should look like this:
HR hr = new HR("John", 1);
hr.commonEmpDetaills();
hr.confidentialDetails(6320.56, "good");
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
