/** * Tests class SavingsAccount */ public class SavingsTester { public static void main(String[] args) { SavingsAccount mySavings = new SavingsAccount(1000, 10); mySavings.addInterest(); double balance = mySavings.getBalance(); System.out.println("mySavings balance: "+balance); System.out.println("Expected balance: 1100"); } }