Jump to content

Inheritance

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Conversion script (talk | contribs) at 15:43, 25 February 2002 (Automated conversion). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Inheritance has three meanings:

  1. You get money and other things when your parents die (what they bequeath you)
  2. You get genes from your mom and dad (genetic inheritance). See evolutionary theory.
  3. The class you write in object-oriented programming extends the features of an another class.