I have a project about a cash for metals company.
I created 3 classes to begin with: a super class Customer and 2 subclasses that inherit from the superclass. Each customer has a unique id.
Now i have to create a class named Account which will contain an account number. My question is how do i tie the unique account number with the unique id. What strategy should i follow. Customers will have one account but can have multiple transactions and are created each time a customer is created?
Thanks for the help.