Java Software Engineer Question:

Download Job Interview Questions and Answers PDF

Tell us what do you mean by aggregation?

Java Software Engineer Interview Question
Java Software Engineer Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know what is the advantage of generic collection?Tell me can an enum be extended?