What is difference between composition and aggregation in Java?

In Aggregation, objects can remain in the scope of a system without each other. In a composition relationship, objects cannot remain in the scope of a system without each other .

Sizin İçin Seçtik  Kalp krizi bir gün önce belirti verir mi?

Leave a Reply

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

What is difference between composition and aggregation in Java?

In Aggregation, objects can remain in the scope of a system without each other. In a composition relationship, objects cannot remain in the scope of a system without each other .

Sizin İçin Seçtik  What is composition in C++ with examples?

Leave a Reply

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