Object composition

From Wiki @ Karl Jones dot com
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