help and please show answers clearly
Class Definition for Employee Class Definition for the Application that sses the Employee Class Class Employee Private String emadame Private Real hourly Rate Private Real totalPay Public Module Employee() Setema Name, Set hourly Rate=0 Set totalPay = 0 End Module Public Module Employee(String DewEmollame. Real newHourly Rate) Set emoblame-ow.corliame Set hourlyRate = newhourly Rate Set totalPay = 0 End Module Public Function String art.mediacoal) Return emadame End Function Public Module setElamer String or Emblame) Setemalameowmablage End Module Public Function Real getHourlyRate() Return hourly Rate End Function Public Module setHourly Rate Real newhourlyRate) Set hourlyRate = newHourly Rate End Module Public Module calculate TotalPay(Real hours Worked) Set totalPay = hours Worked hourly Rate Display "Total pay is totalPay End Module Public Function Real getTotalPay Return totalPay End Function End Class Module main Deciare Real hours Worked Declare Employee john Declare Employee ja Setjohn New Employee Set New Employee("31 Jones. 15.50) Car hasckmallaner John Jones Caljon setHourlyRate(12:50) Display "Please enter hours John worked Input hours Worked Call john calculateTotalPaythoursWorked) Display Pick up . lames. check at payroll Display "Please enter hours Jill worked Input hours Worked Call calculate TotalPay(hours Worked) Display Pick up Blambianas, check at payroll End Module 19. Examine the pseudocode for the Employee class and the application that uses it, which appear on the next page. a. Draw a single class diagram containing the Employee class and the application. b. Examine the pseudocode for the Employee class. Hilight/Identify (label) all the constructors, all the accessor methods, and all the mutator methods defined for the class. c. Then examine the pseudocode for the application. Circle or hilight the statements that create instances of Employee. Put a check mark next to the statements that make calls to Employee instance methods. Class Definition for Employee Class Class Employee Private String empName Private Real hourly Rate Private Real totalPay Public Module Employee() Set empName" Set hourlyRate = 0 Set totalPay = 0 End Module Public Module Employee(String newEmpName, Real newHourlyRate) Set empName = newEmpName Set hourlyRate = newHourlyRate Set totalPay = 0 End Module Public Function String getEmpName() Return empName End Function Public Module setEmpName(String newEmpName) Set empName = newEmpName End Module Public Function Real getHourlyRate() Return hourly Rate End Function Public Module setHourlyRate(Real new HourlyRate) Set hourlyRate = newHourlyRate End Module Public Module calculate TotalPay(Real hoursWorked) Set totalPay = hoursWorked hourlyRate Display "Total pay is:", totalPay End Module Public Function Real get TotalPayo Return totalPay End Function Definition for the Application that uses the Employee Class Module main() Declare Real hours Worked Declare Employee john Declare Employee jill Set john = New Employee() Set jill = New Employee("Jill Jones", 15.50) Call john setEmpName("John Jones") Call john.setHourly Rate(12.50) Display "Please enter hours John worked" Input hours Worked Call john calculate TotalPay(hoursWorked) Display "Pick up john.getEmpName(). check at payroll" Display "Please enter hours Jill worked Input hours Worked Call ill.calculate TotalPay(hours Worked) Display "Pick up" jill.getEmpName(). "check at payroll" End Module End Class