Popular

Which one is better composition or aggregation?

Which one is better composition or aggregation? The composition is stronger than Aggregation. In Short, a relationship between two objects is referred...

Which one is better composition or aggregation?

The composition is stronger than Aggregation. In Short, a relationship between two objects is referred as an association, and an association is known as composition when one object owns other while an association is known as aggregation when one object uses another object.

What is aggregation in object oriented programming?

Aggregation is a special form of association. It is a relationship between two classes like association, however its a directional association, which means it is strictly a one way association. It represents a HAS-A relationship.

Which is the strongest class relationship?

Note that generalization is the strongest form of class relationships as the classes participating in a generalization relationship are tightly coupled with each other — most of the internal intricacies of the parent class are visible to the child class.

Leave a Reply

Your email address will not be published. Required fields are marked *