Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package BankAccounts;
- import java.time.LocalDate;
- import BankClients.Client;
- import BankPkg.AccountType;
- public class Regular extends Account {
- public Regular(String name, int personId, LocalDate birthDate)
- throws Exception {
- this(new Client(name, personId, birthDate));
- }
- public Regular(Client owner) throws Exception {
- super(owner, AccountType.regular);
- }
- public Regular(Regular other) {
- super(other);
- }
- }
Add Comment
Please, Sign In to add comment