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); } }