Files
Bankapp/src/main/java/me/zacharias/bank/BankAccount.java
Zacharias 12429d22aa Added some documentation to the code.
fixed a slight bug in the encofing of user data where evry user had the same password of "pass".
2025-04-25 12:21:44 +02:00

17 lines
519 B
Java

package me.zacharias.bank;
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)} instead
*/
public class BankAccount extends Account {
/**
* Creates a new BankAccount with the given name.
* @param name The name of the account
*/
public BankAccount(String name) {
super(name, BANK_ACCOUNT_INTEREST_RATE);
}
}