|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cscie160.hw4.ATMImplementation
Constructor Summary | |
ATMImplementation()
| Constructor. |
Method Summary | |
void |
deposit(float amount)
| Tells account to deposit [amount]. |
float |
getBalance()
| Asks account for the balance in that account. |
void |
withdraw(float amount)
| Tells account to withdraw [amount] |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ATMImplementation()
Method Detail |
public void deposit(float amount) throws ATMException
deposit
in interface ATM
float
- Amount to be deposited.public void withdraw(float amount) throws ATMException
withdraw
in interface ATM
float
- Amount to be withdrawn.public float getBalance() throws ATMException
getBalance
in interface ATM
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |