Object association
From Wikipedia, the free encyclopedia
This article does not cite any references or sources. (July 2006) Please help improve this article by adding citations to reliable sources. Unverifiable material may be challenged and removed. |
In the object-oriented programming paradigm, the word association means union. In object association, one object is formed from the union of two or more other objects.
In object-oriented programming, there are two kinds of object association: aggregation and composition. Both intend to do the same thing, build "large" objects from "smaller" ones. They differ only conceptually, from an object system perspective.