Object association

From Wikipedia, the free encyclopedia


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.

[edit] See also