Good Good Study, Day Day Up

If you want to improve your English abilities, especially writing skills, let's work together!
正文

Understanding Association, Aggregate, and Composition

(2009-04-15 09:28:34) 下一个
Association is the ability to send messages from one instance to another. Aggregation is a part-whole relationship and is exactly the same as association except it doesn't allow a part to contain its whole. Composition is exactly like aggregation except that the lifetime of the 'part' is controlled by the 'whole'.
[ 打印 ]
阅读 ()评论 (0)
评论
目前还没有任何评论
登录后才可评论.