// CSE 143, Winter 2010, Marty Stepp // This 'client' program uses a BankAccount object and calls // the printLog method we wrote in class. public class UseAccount { public static void main(String[] args) { BankAccount marty = new BankAccount(19); marty.deposit(7.84); marty.withdraw(2.53); marty.deposit(6.19); marty.deposit(2.58); marty.printLog(); System.out.println(); marty.withdraw(4.18); marty.printLog(); } }