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. Identify the relation between the Employee and Department
Employee and PermanentEmployee
Employee and PayrollCalculator
Answers
Answered by
0
tex/>
bf
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. Identify the relation between the Employee and Department
Employee and PermanentEmployee
Employee and PayrollCalculator
Answered by
5
Answer:
1) Employee and Department :- Association
2) Employee and PermanentEmployee :- Inheritance
3) Employee and PayrollCalculator :- Dependency
Similar questions