Foo depends on Bar if …?Foo can be coupled to BarExplain the associations, navigabilities, and multiplicities in the class diagram below:
 
              
            Suppose we wrote a program to follow the class structure given in this class diagram:
 
              
              Draw object diagrams to represent the object structures after each of these steps below. Assume that we are trying to minimize the number of total objects.
i.e. apply step 1 → [diagram 1] → apply step 2 on diagram 1 → [diagram 2] and so on.
There are no persons.
Alfred is the Guardian of Bruce.
Bruce's contact number is the same as Alfred's.
Alfred is also the guardian of another person. That person lists Alfreds home address as his home address as well as office address.
Alfred has a an office address at Wayne Industries building which is different from his home address (i.e. Bat Cave).
After step 2, the diagram should be like this:
