Answers to Self-Review Exercises

  1. 33.1 Figure 33.26 contains a use case diagram for a modified version of our ATM system that also allows users to transfer money between accounts.

    Fig. 33.26 Use case diagram for a modified version of our ATM system that also allows users to transfer money between accounts.

    A use case diagram for a user to transfer money between accounts. The use cases are as follows. View account balance, withdraw cash, deposit funds, and transfer funds between accounts.
  2. 33.2 b.

  3. 33.3 d.

  4. 33.4 [Note: Answers may vary.] Figure 33.27 presents a class diagram that shows some of the composition relationships of a class Car.

    Fig. 33.27 Class diagram showing composition relationships of a class Car.

    A diagram depicts a class, car, which is connected to the other classes.

Get Java How to Program, Early Objects, 11th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.