public class AccountTest { /** * @param args */ public static void main(String[] args) { Account a1 = new Account(); // Instantiation of 'Account' class Account a2 = new Account(); System.out.println(a1.getBalance()); a1.deposit(100.0); System.out.println(a1.getBalance()); a1.withdraw(50.0); System.out.println(a1.getBalance()); a2.deposit(100.0); System.out.println(a2.getBalance()); } }