Please Use Java 2 Write Class Named Employee Following Properties Name Name Property Holds Q43788186
Please use Java 2. Write a class named Employee that has thefollowing properties.
• Name: The Name property holds the employee’s name.
• IdNumber: The IdNumber property holds the employee’s IDnumber.
• Department: The Department property holds the name of thedepartment in which the employee works.
• Position: The Position property holds the employee’s jobtitle.
The class should have the following overloaded constructors: • Aconstructor that accepts the following values as arguments andassigns them to the appropriate properties: employee’s Name,IdNumber, Departmentand Position. • A constructor that accepts thefollowing values as arguments and assigns them to the appropriateproperties: employee’s Name and IdNumber. The DepartmentandPosition properties should be assigned an empty string. • Aparameter less constructor that assigns empty string to Name,Department and Position properties, and 0 to IdNumber.

Create three employee objects to hold the following information: Name Susan Meyers Mark Jones Joy Rogers id Number 47899 39119 81774 Department Accouting Position Vice President Programmer Engineer Manufacturing Show transcribed image text Create three employee objects to hold the following information: Name Susan Meyers Mark Jones Joy Rogers id Number 47899 39119 81774 Department Accouting Position Vice President Programmer Engineer Manufacturing
Expert Answer
Answer to Please use Java 2. Write a class named Employee that has the following properties. • Name: The Name property holds the…
OR