Composition and aggregation are two types of association which is used to represent relationships between two classes . In Aggregation , parent and child entity maintain Has-A relationship but both can also exist independently. We can use parent and child entity independently.21 Oca 2020
What is composition and aggregation in C#?
Aggregation means one object is the owner of another object. Composition means one object is contained in another object . The direction of a relation is a requirement in both Composition and Aggregation. The direction specifies which object contains the other one.12 Oca 2022
Leave a Reply
What is composition and aggregation in C++?
Composition and aggregation are two types of association which is used to represent relationships between two classes . In Aggregation , parent and child entity maintain Has-A relationship but both can also exist independently. We can use parent and child entity independently.21 Oca 2020
Leave a Reply
What is composition and aggregation in C#?
Aggregation means one object is the owner of another object. Composition means one object is contained in another object . The direction of a relation is a requirement in both Composition and Aggregation. The direction specifies which object contains the other one.12 Oca 2022