adspace
What is the difference between aggregated and contained objects?
Answer Posted / Rahul Singh Kasera
In COM (Component Object Model), an aggregated object is owned by another object, meaning the container retains the lifetime of the aggregated object. On the other hand, a contained object manages its own lifetime independently. The container only keeps a reference to the contained object, and when the reference count reaches zero, the contained object gets destroyed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category