I am working on a program that is supposed to simulate bank accounts. I have my base class called "Investment", my two subclasses called "Stock" and "MutualFund", and I also have a class called "CustomerAccount" that is supposed to be associated with the base class "Investment".
I'm not sure how to associate the CustomerAccount class with the Investment class.
See Question&Answers more detail:os