What is the difference between aggregation and composition in Java with example?

Aggregation implies a relationship where the child can exist independently of the parent . For example, Bank and Employee, delete the Bank and the Employee still exist. whereas Composition implies a relationship where the child cannot exist independent of the parent.21 Oca 2015

Sizin İçin Seçtik  Xbox Live Gold üyelik nedir?

Leave a Reply

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

What is the difference between aggregation and composition in Java with example?

Aggregation implies a relationship where the child can exist independently of the parent . For example, Bank and Employee, delete the Bank and the Employee still exist. whereas Composition implies a relationship where the child cannot exist independent of the parent.21 Oca 2015

Sizin İçin Seçtik  Should I use FlatList react native?

Leave a Reply

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