/** * This is a tester class that creates a bank and then opens * accounts with the bank. */ public class BankTester{ public static void main(String[] args){ // Creates a new bank ArrayBank wellsFargo = new ArrayBank(); String billyChecking = wellsFargo.openAccount("Billy Sontar", "pwd123", 100.00); String junesChecking = wellsFargo.openAccount("June Lee", "ih8temyjob", 100.00); System.out.println("Here are the accounts:"); System.out.println(wellsFargo.toString()); wellsFargo.deposit(billyChecking, 3000.00); wellsFargo.transfer(billyChecking, junesChecking, 345.36); System.out.println("After the transactions:"); System.out.println(wellsFargo.toString()); } }