A company wants to maintain their employees information along with their payroll details. Employees can be PermanentEmployee or ContractEmployee. The departments in the company are also maintained. The salary for the employee is calculated using a helper class.
From the given scenario, the classes identified are
Employee
PermanentEmployee
ContractEmployee
Department
PayrollCalculator
Identify the relation between the
Employee and Department
Employee and PermanentEmployee
Employee and PayrollCalculator
Answers
Answer:
An employee has different relations in an organization which might be with department, other employees and do on.
Explanation:
The relation in the employee and the department is that the employee has to work to achieve the goals and the objectives of the department for which it is working.
The relation with the employee and the permanent employee is that an employee who is permanent in the organization has more authority in his hands and might direct the employee to work who is not permanent in the company. Payroll calculator calculates the amount of money that the employee will get according to the work done.
Know more:
Q1) Importance of employees relations?
Ans) https://brainly.in/question/9129263
Q2) Definition of employees relation in HRM?
Ans) https://brainly.in/question/2429798
Answer:
Employee and Payroll Calculator- dependency
Employee and Department- association
Employee and PermanentEmployee- inheritance
Explanation: