public abstract class BankAccount extends Account {
private static final double DEFAULT_MONTHLY_FEES = 25.0;
private double balance;
public double getBalance() {
return this.balance;
}
public void setBalance(double balance) {
this.balance = balance;
}
public BankAccount() {
System.out.println(“BankAccount was called!”);
}
public double getMonthlyFees() {
System.out.println(“BankAccount method getMonthlyFees was called!”);
return DEFAULT_MONTHLY_FEES;
}
}