Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Databases Concepts And Practice

Authors: Suzanne W Dietrich

1st Edition

1119827949, 9781119827948

More Books

Students also viewed these Databases questions