According to the given class diagrams below, write their corresponding Java class implementations. Add at least 1 constr
Posted: Sun May 15, 2022 12:18 pm
According to the given class diagrams below, write their corresponding Java class implementations. Add at least 1 constructor to each class. You are free to add a no-arg or with- args constructor. Write your class implementations to a word doc and submit the pdf file of this doc. No need to send java files. Some extra info that you need to know: computeYearsActive() method returns currentyear-founded Company Employee -name -type -founded -nrOfEmployees -nrOfDepartments + getName() +setName() + getType() +setType() +getNrEmp() +setNrEmp() +getNrDept() +setNrDept() +computeYears Active() -name -address -department -enteringYear +nrOfEmplDept + getName() +setName() +getAddress() +setAddress() +getDepartment +setDepartment +getEnteringYear() +setEntering Year() +setNrEmplDept()