What is aggregation?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is aggregation?
Rating:
Aggregation is a type of association that specifies a whole/part relationship between the aggregate (whole) and a component part. It differs from composition in that it does not imply ownership. In composition, when the owning object is destroyed, so are the contained objects. Following are the characteristics of aggregation:
- It does not imply ownership.
- It is an asymmetric relationship.
- It is a transitive relationship.
- It implies stronger coupling behavior (copy, delete, etc.).
Rating:
Was this information helpful?
Other articles
- What is a local variable?
- What are the getName(), getPriority(), isAlive(), and join() methods?
- How to define a thread by extending the java.lang.Thread class?
- What are wildcards?
- Things to practice for Sun test CX310-065.