public class GRQ { public static void main (String [] args) throws Exception { BankAcc [] lots = new BankAcc[10]; Savings [] oodles = new Savings[5]; BankAcc owen = new BankAcc(); System.out.println("Number of Accs made so far = " + BankAcc.numAccsMade); BankAcc feit = new BankAcc(20046.78, "Gerhard", "quickly"); System.out.println("Number of Accs made so far = " + BankAcc.numAccsMade); lots[0] = owen; lots[1] = feit; Savings gates = new Savings(99946.78, "goyen", "melinda", 9.65); System.out.println("Number of Accs made so far = " + BankAcc.numAccsMade); oodles[0] = gates; System.out.println("Owen has a balance of " + owen.getBalance() + " in an account of type " + owen.TYPE); System.out.println("Feit has a balance of " + feit.getBalance() + " in an account of type " + feit.TYPE); System.out.println("Gates has a balance of " + gates.getBalance() + " in an account of type " + gates.TYPE); } }