4. For this exercise, consider a different example of an object - a dog.
-
what type of object is a dog
-
what are some of the attributes of a dog
-
show an object instance of dog, using figure 10-1 as an example
-
what are some of the behaviors of the class of dog?
-
represent the class of dog in the UML, using figure 10-2(b) as an example
5. Again, consider the class of Dog.
-
provide five or six examples of the association between the class of dog and the class of person.
-
show the object class associations and multiplicity notations for the class of dog
- what type of aggregation relationships might exist for the dog