public class SavingAccount extends BankAccount {
    private static double interestRate;
        /** constructor */
    public SavingAccount(String name,  int saving) {
	super(name, saving);
    }
    /** constructor */
    public SavingAccount(String name) {
	super(name);
    }
    
    /** get interest */
    public double getInterest() {
	return saving*interestRate;
    }
    
    public static double getInterestRate() {
	return interestRate;
    }
    
    public static void setInterestRate(double newInterestRate) {
	interestRate = newInterestRate;
    }
    
    public String showInfo() {
	return super.showInfo() + "\nInterest Rate : " + interestRate;
    }
}
