Skip to content

Instantly share code, notes, and snippets.

@memish
Last active November 13, 2019 17:18
Show Gist options
  • Save memish/179fd5f5c80b1a0a52eaed614a658688 to your computer and use it in GitHub Desktop.
Save memish/179fd5f5c80b1a0a52eaed614a658688 to your computer and use it in GitHub Desktop.
public abstract class BankAccount
{
private double balance;
private double name;
public BankAccount(String name, double balance){
}
public double getBalance(){
return balance;
}
abstract double interestRate();
abstract int numOfMonthlyWithdraws();
//https://www.diffen.com/difference/Checking_Account_vs_Savings_Account
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment