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 Business extends LoanableAccount {
- public Business(String name, int personId, LocalDate birthDate)
- throws Exception {
- this(new Client(name, personId, birthDate));
- }
- public Business(Client owner) throws Exception {
- super(owner, AccountType.business);
- }
- public Business(Business other) {
- super(other);
- }
- }
Add Comment
Please, Sign In to add comment