previous
|
start
|
next
Server Program
If the command is DEPOSIT, deposit to the given account
If the command is WITHDRAW, withdraw from the given account
Then send the account number and new balance to the client
out.println(n + " " + bank.getBalance(account));
previous
|
start
|
next