public class SavingsAccountDriver
{
	public static void main( String []args)
	  {
		SavingsAccount s = new SavingsAccount ( "S001", 2000,.085);  // instantiate object a				a.setBalance(500);                                    // test constructor and methods
		s.setAccountNumber("S001");
		s.deposit(100);
		s. withdraw(50);
		System.out.println("toString -> " + s);     //print before deduction
		System.out.println("Interest ->"+ s.calculateInterest());
	    s.deductInterest();
		System.out.println("toString -> " + s);     //toString( ) name  is implied

      }
}

