Added base classes

This commit is contained in:
2025-03-19 12:51:30 +01:00
parent c05dda145f
commit 32c93fd99f
8 changed files with 333 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
package me.zacharias.bank;
public class BankAccount extends Account {
public BankAccount(String name, int balance) {
super(name, balance);
}
@Override
double getInterestRate() {
return 0.001;
}
}