subject

Java Design a Payroll class that has fields for an employee’sname, ID number, hourly pay rate, and number of hours worked. Write theappropriate accessor and mutator methods and a constructor that accepts theemployee’s name and ID number as arguments. The class should also have amethod that returns the employee’s gross pay, which is calculated asthenumber of hours worked multiplied by the hourly pay rate. Write anotherclass/programwithmain()metho dthat demonstrates the class by creatingaPayrollobject, then asking the user to enter the data for anemployee. The program should display the amount of gross pay earn

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:30
Which tab is used to change the theme of a photo album slide show? a. design b. view c. transitions d. home
Answers: 1
question
Computers and Technology, 23.06.2019 03:30
Ihave a singular monitor that is a tv for my computer. recently, i took apart my computer and put it back together. when i put in the hdmi cord and booted the computer to see if it worked, the computer turned on fine but the screen was blue with "hdmi no signal." i've tried everything that doesn't require buying spare parts, any answer is appreciated!
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Based on the current economic situation do you expect the employment demand for graduating engineers to increase or decrease? explain the basis for your answer. with a significant economic recovery, what do you think will happen to future enrollments in graduating engineering programs?
Answers: 1
question
Computers and Technology, 24.06.2019 20:00
Avirus enters a computer or network as code embedded in other software directly from another computer
Answers: 1
You know the right answer?
Java Design a Payroll class that has fields for an employee’sname, ID number, hourly pay rate, and n...
Questions
question
Biology, 19.05.2020 01:59
question
Mathematics, 19.05.2020 01:59
Questions on the website: 13722360