Computer Science, asked by hedauneeta48, 8 months ago

Aggregation and Composition represents which kind of relationship between classes into object-oriented programming?
'has-a'
'a-part-of'
'is-a'
A & B both​

Answers

Answered by skakss123
0

Answer:

Aggregation and Composition are subsets of association meaning they are specific cases of association. In both aggregation and composition object of one class "owns" object of another class. But there is a subtle difference: Aggregation implies a relationship where the child can exist independently of the parent.

Similar questions