Started implumenting a GUI for the program.
This commit is contained in:
@@ -6,7 +6,7 @@ import static me.zacharias.bank.Account.Interests.BANK_ACCOUNT_INTEREST_RATE;
|
||||
* This class only works as a way to have prefilled information, but can be replaced by just calling the {@link Account#Account(String, double, double)} instead
|
||||
*/
|
||||
public class BankAccount extends Account {
|
||||
public BankAccount(String name, double balance) {
|
||||
super(name, balance, BANK_ACCOUNT_INTEREST_RATE);
|
||||
public BankAccount(String name) {
|
||||
super(name, BANK_ACCOUNT_INTEREST_RATE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user