Question: Create an Employee class. Items to include as data members are employee number, first name, last name, date of hire, job description, department, and monthly

Create an Employee class. Items to include as data members are employee number, first name, last name, date of hire, job description, department, and monthly salary. The class is often used to display an alphabetical listing of all employees. Include appropriate constructors and properties. Provide two instance methods that return the full name.

The first should return first name, space last name. The second method should return the name in a format that it could be used for sorting

(last name, followed by a comma, space, and then first name). Override the ToString ( ) method to return all data members. Create a second class to test your Employee class.

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 Systems Analysis Design Questions!