Can a problem have a relation of aggregation and composition both between two classes at same point
Posted
by learner
on Stack Overflow
See other posts from Stack Overflow
or by learner
Published on 2010-03-23T12:18:27Z
Indexed on
2010/03/23
12:23 UTC
Read the original article
Hit count: 142
oop
Can a problem have a relation of aggregation and composition both between two classes at same point of time?
Like any real time scenario where there can be aggregation corresponding to one method and composition related to other method.
I m unable to figure out any scenario where both composition and aggregation occurs simultaneously between two classes.
Any help will be appreciable.
© Stack Overflow or respective owner