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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started