Question: Write a Java program that implements the following features: Create an Employee class The Employee Class will have the following properties First Name Last Name
Write a Java program that implements the following features:
- Create an Employee class
- The Employee Class will have the following properties
- First Name
- Last Name
- Employee ID
- Hourly Pay
- Hours worked
- The Employee class will have the following methods
- Get and Set property values
- Compute total pay by multiplying hourly pay by hours worked
- The main program will
- Create an Employee class object
- Set the following data into the object
- Name = Sara Jones
- EmpID = 100
- Hourly Pay = 12.55
- Hours Worked = 40
- Get the total pay from the Employee object
- Print the total pay to the screen
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
