📅  最后修改于: 2022-03-11 14:55:23.949000             🧑  作者: Mango
public class Driver {
public static void main(String[] args) {
// test case.
SavingsAccount sa = new SavingsAccount("hdfc", "delhi", 10);
System.out.println("amount: " + sa.calculateAmount(1000));
}
}