Class-based Programming - Inheritance

Inheritance

See Inheritance

Inheritance is typically done by grouping objects into classes, and defining classes as extensions of existing classes, and thus grouping classes into trees or lattices reflecting behavioral commonality. Although the use of classes is the most popular technique for inheritance, another well-known technique is prototype-based programming.

Read more about this topic:  Class-based Programming

Famous quotes containing the word inheritance:

    A slave who deals wisely will rule over a child who acts shamefully, and will share the inheritance as one of the family.
    Bible: Hebrew, Proverbs 17:2.

    Late in the afternoon we passed a man on the shore fishing with a long birch pole.... The characteristics and pursuits of various ages and races of men are always existing in epitome in every neighborhood. The pleasures of my earliest youth have become the inheritance of other men. This man is still a fisher, and belongs to an era in which I myself have lived.
    Henry David Thoreau (1817–1862)

    Say not you know another entirely till you have divided an inheritance with him.
    Johann Kaspar Lavater (1741–1801)