Can a problem have a relation of aggregation and composition both between two classes at same point
- by learner
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.