Question: Please use Java 2. Write a class named Employee that has the following properties. Name: The Name property holds the employee's name. IdNumber: The IdNumber
Please use Java 2. Write a class named Employee that has the following properties.
Name: The Name property holds the employee's name.
IdNumber: The IdNumber property holds the employee's ID number.
Department: The Department property holds the name of the department in which the employee works.
Position: The Position property holds the employee's job title.
The class should have the following overloaded constructors: A constructor that accepts the following values as arguments and assigns them to the appropriate properties: employee's Name, IdNumber, Departmentand Position. A constructor that accepts the following values as arguments and assigns them to the appropriate properties: employee's Name and IdNumber. The Departmentand Position properties should be assigned an empty string. A parameter 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
