Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 3 ( explain all steps in detail please ) : Complete the class diagram. Suppose we are building a system tracking various plants spread
Exercise explain all steps in detail please: Complete the class diagram.
Suppose we are building a system tracking various plants spread in municipailities. Each individual plant is
located in some municipality, whereas a municipality may contain any number of plants zero plants is also
a possibility A plants can be either a tree or a moss.
Let's assume that the administrative unit under the municipality is called "district". In addition, there are
usually several settlements villages cities, etc. in a municipality, which can possibly be located across
a border in two municipalities. The district is a bureaucratic classification, the settlement a real existing
construct. One of these relationships is an aggregation, the other a composition. Why?
Consider the following partial UML class diagram:
Complete the missing relationships based on the narrative above. Identify aggregation and compisition.
Argue why one of the relations is aggregation which one? and the other composition which one?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started