Java Software Engineer Question:

Tell us what do you mean by aggregation?

Answer:

Aggregation is a specialized form of Association where all object have their own lifecycle but there is ownership and child object can not belongs to another parent object. Let’s take an example of Department and teacher. A single teacher can not belongs to multiple departments, but if we delete the department teacher object will not destroy.

Download Java Software Engineer PDF Read All 45 Java Software Engineer Questions
Previous QuestionNext Question
Do you know what is the advantage of generic collection?Tell me can an enum be extended?