June 2017
Beginner
1296 pages
69h 23m
English
This section contains the complete implementation of the ATM system. We consider the classes in the order in which we identified them in Section 33.3—ATM, Screen, Keypad, CashDispenser, DepositSlot, Account, BankDatabase, Transaction, BalanceInquiry, Withdrawal and Deposit.
We apply the guidelines from Sections 34.2–34.3 to code these classes based on their UML class diagrams of Figs. 34.9 and 34.10. To develop the bodies of methods, we refer to the activity diagrams in Section 33.5 and the communication and sequence diagrams presented in Section 33.7. Our ATM design does not specify all the program logic and may not specify all the attributes and operations required to complete the ATM implementation. This ...
Read now
Unlock full access