Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //BankAccountTester.java MrG 2011.0930
- public class BankAccountTester
- {
- public static void main(String[] args)
- {
- BankAccount bob = new BankAccount();
- bob.deposit(1000);
- bob.withdraw(500);
- bob.withdraw(400);
- System.out.println("balance = " + bob.getBalance());
- }
- }
Add Comment
Please, Sign In to add comment