CS计算机代考程序代写 public class SavingAccount extends BankAccount {

public class SavingAccount extends BankAccount {

public SavingAccount() {
System.out.println(“SavingAccount was called!”);
}

public double getMonthlyFees() {
System.out.println(“SavingAccount method getMonthlyFees was called!”);
double result;
if (getBalance() > 5000.0) {
result = 0.0;
} else {
result = super.getMonthlyFees();
}
return result;
}

}