Question: UML DRAW IT OR MAKE IT WITH A PROGRAM . 14-Design the class diagram for the following example with right type of relationships. (30 points)

 UML DRAW IT OR MAKE IT WITH A PROGRAM . 14-Design

UML DRAW IT OR MAKE IT WITH A PROGRAM .

14-Design the class diagram for the following example with right type of relationships. (30 points) - We have a zoo which is consist of animals and employees. - Zoo is made of at least 3 employees and 10 animals - The employees all have name (String), last name (String) and birthday(Date).Also, the getter and setter functions for each attribute. - There are two different types of employees, senior and junior. - The seniors have the attribute resposibilityID(int) and the getter and setter functions for resposibilityID. - The juniors have the attribute level(int) and the getter and setter functions for level. - All animals have the attributes: - name(string) and ID(int) and the getter and setter functions for each attribute. - 3 types of animals are in the zoo: lion, turtle and penguin. - Lions have a tail-length attribute: double - Lions eat meat - turtles have a shell-size attribute: double - penguins have a wing-length attribute: double - penguins can also be part of a penguin colony. - penguin colony has two attributes for the colony center. - x : int, y : int - Penguin colony is made of 2 to 10 penguins

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!