Re: Association OR Aggregation
Posted By:
Simon_Ablett
Posted On:
Wednesday, April 7, 2004 02:57 AM
I would suggest that there shouldn't be any association between the letter classes. In fact I would go further to suggest that perhaps you dont need to have seperate classes for each letter; unless of course the behaviour of each were sufficiently different to warrant a whole new class. What you may be best doing is having a collection of Letter objects in your controlling class (presumably the user's account class or such like) and then having the differences between individual Letters handled by their attributes. Without going over your requirements spec. in more detail it is hard to give a definitive answer but hopefully the above is of use.
Regards.