Aggregation models the whole/part relation.

flying_snow (飞雪浮冰)
Objects are ofter made up of other objects. Cars are made up of steering wheels, engines,transmissions and so forth. Each of these components may be an object in its own right. The special association of a car to its component parts is known as aggregation.
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技术讨论