Question: write a java class-Staff class to perform the functions given below a. Display the list of librarians with your name, Staff ID, Duty Time and

write a java class-Staff class to perform the functions given below

a. Display the list of librarians with your name, Staff ID, Duty Time and other relevant details.

b. Display the list of all working staff at the given time.

c. Calculate the salary in accordance with the attendance and Staff type.

d. Records and Mark attendance for a staff and update it in the database.

e. Display the list of Helper/Clerks with your name, Staff ID, Duty Time and other relevant details

How to calculate Salary

1.assign a base/original salary to the librarian and staff

(Librarians Salary should be more than that of other staff)

2.Assign the maximum no of leave that can be taken in an year without any reduction salary

3.for each extra leave taken, a fixed % of amount must be reduced from the original salary(can use loop condition)

5.orginal Salary must be increased by a fixed amount in each consecutive years...

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!