Package edu.pdx.cs410J.net
Class ATM
java.lang.Object
edu.pdx.cs410J.net.ATM
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
SynchronizedATM
This class demonstrates how concurrent access to a bank account
needs to be synchronized in order to guarantee the balance is
always correct.
-
Field Summary
Modifier and TypeFieldDescriptionprotected BankAccount
protected String
protected static PrintStream
protected int[]
-
Constructor Summary
-
Method Summary