Object-Oriented Programming 1: 1.2 Zoo Object Diagram
Create a UML object diagram by following along with the instructor-led activity, using the following requirements text as a guide.
- Create a UML object diagram.
Creating Object Diagrams with Fields in Violet (15:09)
- ComoZoo
- It has a capacity of 1000.
- It has two restrooms (LadiesRoom and MensRoom).
- It is named Como Zoo.
- It has a ticket booth of type Booth.
- LadiesRoom
- It has a capacity of 4.
- Its gender is female.
- MensRoom
- It has a capacity of 4.
- Its gender is male.
- TicketBooth
- It has an attendant who is an employee.
- It has a money balance of $3,640.25.
- It has a ticket price of $15.00.
- Attendant
- His name is Sam.
- His employee number is 42.
- Export diagram and submit to Blackboard
- Save the diagram by clicking File | Save in Violet.
Tip: Ensure that Violet adds a .object.violet extension to the file when saving.
- Export the diagram by clicking File | Export to | Image file in Violet and exporting a .png file.
- Submit the diagram by uploading the .png file to Blackboard.