Object composition

From Wiki @ Karl Jones dot com
Revision as of 08:21, 25 September 2016 by Karl Jones (Talk | contribs) (Created page with "In computer science, '''object composition''' (not to be confused with function composition) is a way to Association (object-...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In computer science, object composition (not to be confused with function composition) is a way to combine simple objects or data types into more complex ones.

Description

Compositions are a critical building block of many basic data structures, including the tagged union, the linked list, and the binary tree, as well as the [Object (computer science)|object]] used in object-oriented programming.

See also

External links