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.
Previous Question | Next Question |
Do you know what is the advantage of generic collection? | Tell me can an enum be extended? |