class TestSimpleAccount
{
	public static void main(String args[])
	{
		// Create an Account object using the constructor that takes one argument
		SimpleAccount myAccount = new SimpleAccount("Judy");

		// Deposit money
		myAccount.deposit(250.00);

		System.out.println ("Current name of myAccount: " + 	myAccount.getName());
		System.out.println ("Current balance of myAccount: " + 	myAccount.getBalance());
		System.out.println();

		// Withdraw money
		myAccount.withdraw(80.00);

		// Print remaining balance
		System.out.println ("Now the current balance of myAccount: " + myAccount.getBalance());
		System.out.println();

		//Create an Account object using the "no-arg" constructor
		SimpleAccount yourAccount = new SimpleAccount();

		System.out.println ("yourAccount name: " + yourAccount.getName());
		System.out.println ("yourAccount balance: " + yourAccount.getBalance());
		System.out.println();

		yourAccount.setName("Molly");
		yourAccount.deposit(1000.00);

		System.out.println ("yourAccount name: " + yourAccount.getName());
		System.out.println ("yourAccount balance: " + yourAccount.getBalance());
		System.out.println();

	}
}