From the sequence diagram Figure 2-34, draw the corresponding class diagram. Hint: Start with the participating objects in the sequence diagram.
What will be an ideal response?
Figure 5-7 depicts a sample solution. The student should figure out from the sequence diagram that there should be
access paths among all three classes. One way to ensure that these paths exist is to introduce a top-level object
2Bwatch which has aggregation associations with the other three classes.
![14121|588x242](upload://p0KRDtIsSZjWG1pg9VzMDSP0xoz.png)
Computer Science & Information Technology
You might also like to view...
Motherboards have several fan connectors to help keep the system cool. Which of the following components uses its own fan for cooling?
a. CPU b. USB c. SATA d. PCIe
Computer Science & Information Technology
What locally significant identifier is used by a Frame Relay network to reference a virtual circuit?
a. VPI/VCI b. DLCI c. TEI d. MAC
Computer Science & Information Technology