posted 17 years ago
Actually, every single of those examples could be either Composition, Aggregation or simple Association. (Although the probability for the last to be Composition might be a bit higher.)
It really depends on what the code that you haven't shown does with the object, and *why*.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus