My Answer

liweizhang (Panda)
Association: Models a semantic connection among classes

Aggregation: A special form of association that models a whole-part relationship between an aggregate (the whole) and its parts

Composition:A form of aggregation with strong ownership and coincident lifetimes(The parts cannot survive the whole/aggregate)
2001-3-29 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: OO. I know the relationship between Composition and Inheritance. But I can't understand clearly about Aggregation, Association, and Dependency. Would you please help me clarify them? tks.

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论