Possible Duplicate:
Inheritance vs. Aggregation
A parter in this site, told that I need 'aggregation over inheritance' as solution.
I have investigated what is each think, but 'over inheritance'? That's my doubt. Someone can show me example of what does it mean?
Thanks in advance.