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

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!