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
3.43 Rating (156 Votes )
There are 3 Steps involved in it
Heres a Java program that implements the features youve described java class Employee private String ... View full answer
Get step-by-step solutions from verified subject matter experts
