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.

    Someone in the crowd said to him, “Teacher, tell my brother to divide the family inheritance with me.” But he said to him, “Friend, who set me to be a judge or arbitrator over you?”
    Bible: New Testament, Luke 12:13,14.

    Jesus.

    As to honour—you know—it’s a very fine mediaeval inheritance which women never got hold of. It wasn’t theirs.
    Joseph Conrad (1857–1924)