Summing it up – To sum it up association is a very generic term used to represent when one class used the functionalities provided by another class. We say it’s a composition if one parent class object owns another child class object and that child class object cannot meaningfully exist without the parent class object. If it can then it is called Aggregation.

Summing it up –

To sum it up association is a very generic term used to represent when one class used the functionalities provided by another class. We say it’s a composition if one parent class object owns another child class object and that child class object cannot meaningfully exist without the parent class object. If it can then it is called Aggregation.

Leave a comment

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


7 + = sixteen

Leave a Reply