Aggregation in java
The most important advantage of Object oriented programming is code reusability. Aggregation means making a relationship or association between 2 classes. There is one directional association between the classes that represent Has-A relationship. As an example suppose,...