OO Programming in Java

Class 2 Material

Bank Quiz


Design an object model for an ATMServer.

The server will handle transactions from ATMs. An ATM requesting service initiates a session by sending a userID and PIN. Two transaction types are handled, checking account deposits, and checking account withdrawls. The balance for the appropriate account at the bank must be maintained.

Don't worry about handling more than one transaction at a time.

Draw a scenario diagram for the ATMServer to handle ..... Fred enters PIN and deposits $340, then withdraws $100.