Yes. You're right. That's what I meant, ChairLeg can exist without Chair, but I did not mention it quite clearly. General speaking, I want to emphasize that "In composition, subclasses' life cycle depends directly on superclassβs life cycle and vice versa. In aggregation, the subclasses and superclass have their own life cycle.". Thanks for your comment. Have a good day!
For further actions, you may consider blocking this person and/or reporting abuse
We're a blogging-forward open source social network where we learn from one another
Yes. You're right. That's what I meant, ChairLeg can exist without Chair, but I did not mention it quite clearly. General speaking, I want to emphasize that "In composition, subclasses' life cycle depends directly on superclassβs life cycle and vice versa. In aggregation, the subclasses and superclass have their own life cycle.". Thanks for your comment. Have a good day!