Last active
November 13, 2019 17:18
-
-
Save memish/179fd5f5c80b1a0a52eaed614a658688 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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