Computer Science, asked by anjaliyadav2608, 8 months ago

define aggregation in c++​

Answers

Answered by brainliestnp
2

Answer:

In C++, aggregation is a process in which one class defines another class as any entity reference. It is another way to reuse the class. It is a form of association that represents HAS-A relationship.

Explanation:

hope I help you

Answered by SP85
0

Bro Aggregation is a way of composing different abstractions together in defining a class. For example, a car class can be defined to contain other classes such as engine class, seat class, wheels class etc. Other examples of aggregation are: A window class containing menu class, check-box class etc.

Similar questions