Answer to Question #326502 in Java | JSP | JSF for Gherbo

Question #326502

Use Java to develop a payroll software to assist in paying the salary of employee/staff of a certain university named XYZ University. Assume we have three employees in the university with ranks - Programmer, Admin and Librarian, write a Java program to calculate and printout the total salary of these three employees in the institution. The program should have the following features: 1) Create a public class named: Employee that would get the firstname and lastname of each employee from the keyboard/user 2) Create three objects: prog, adm and lib, for programmer, admin and librarian respectively to access the properties in Employee class. 3) Create EmployeeSalary as parent interface to store basic_sal, housing_all and transport_all. The values for these three items are fixed for all Employee and has abstract function calculateSalary. 4) Create three sub classes namely: programmer, admin and librarian to store bonus, overtime and total salary for each employee


0
Service report
It's been a while since this question is posted here. Still, the answer hasn't been got. Consider converting this question to a fully qualified assignment, and we will try to assist. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS