//Client program to test the BasicBankAccount class // Norman Pestaina COP 2210 Summer 2016 // public class BasicBankAccountTester { public static void main(String[] args) { BasicBankAccount savings = new BasicBankAccount(); BasicBankAccount checking = new BasicBankAccount(5000.0); display(savings, checking); checking.debit(500.0); savings.credit(500.00); checking.debit(250.0); display(savings, checking); System.out.println(); System.out.println("Account Numbers : " + savings.getNumber() + " & " + checking.getNumber()); System.out.println("Account Balances : " + savings.getBalance() + " & " + checking.getBalance()); } private static void display(BasicBankAccount savings, BasicBankAccount checking) { System.out.println(); System.out.println("Savings :" + savings); System.out.println("Checking :" + checking); } }