1 2 3 4 5 6 7 8 9
public class SavingsAccount extends Account { public void withdraw(double amount) { if (balance >= amount) { balance = balance - amount; } } }