This article may contain excessive or irrelevant examples. Please help improve the article by adding descriptive text and removing less pertinent examples. (August 2010) In computer science, object composition and object aggregation are closely related ways to combine objects or data types into more complex ones. In conversation the distinction between composition and aggregation is often ignored.
![Object composition - Wikipedia](https://cdn-ak-scissors.b.st-hatena.com/image/square/80dc7388978f2514a51df414ce67550aec979d42/height=288;version=1;width=512/https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fen%2Fthumb%2F9%2F9f%2FAggregationAndComposition.svg%2F220px-AggregationAndComposition.svg.png)