Basics of Inheritance

Inheritance is a technique for generalizing over common parts of class definitions.

When we create such a generalization, we specialize by subclassing.

Languages with inheritance introduce many new design choices, as well as some pitfalls.


Creative Commons License © Mitchell Wand, 2012-2015
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
The work has been modified by William D Clinger in these ways and more: conversion from PowerPoint to HTML, and from Racket to Java.

For debugging: Click here to validate.