<<< CRC Cards Example     Index     Example 2: Transactions >>>

42. Example 2: Designing the objects for Automatic Banking Machine


  • Why ATM example?

    • Because of everyone's familiarity with the application and ATM user interface.

  • Account and Transaction provide the banking model.

  • Note that Transaction assumes an active role while money is being dispensed and a passive role thereafter.

    Automatic Banking Machine
<<< CRC Cards Example     Index     Example 2: Transactions >>>