Question: in Visual Studio Create an employee class. Include the following attributes as properties. First Name Last Name Rate of Pay Job Title Hire Date Add

in Visual Studio

Create an employee class. Include the following attributes as properties.

First Name

Last Name

Rate of Pay

Job Title

Hire Date

Add an instance method that returns back the employee's full name. Add another instance method that calculates the gross amount to pay given the hours the employee worked in the pay period. Make sure to create useful constructors for your class. From the main method, instantiate the employee class and populate the properties. Output the full name using the instance method you created. Output the gross pay given that the employee worked 40 hours using the other instance method that you created. Make sure to use the proper types in your properties and return types for your methods.

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!