0
What is the simple description of aggregation in Java ?
I need a simple description and a simple example for it
1 ответ
+ 3
Classes are the building blocks of your java program. Aggregation and Composition represent the relationship between your classes: one class is part of the other, used by the other.
https://www.google.com/amp/s/www.geeksforgeeks.org/association-composition-aggregation-java/amp/
https://beginnersbook.com/2013/05/aggregation/