language: en

The Abstract Class Pattern

Bobby Woolf
Knowledge Systems Corp.
4001 Weston Pkwy, Cary, NC 27513-2303

[919-677-1119 x541,]

bwoolf@ksccary.com

[ABSTRACT CLASS Class Behavioral]

Intent Define the interface for a hierarchy of classes while deferring the implementation to subclasses. Abstract Class lets subclasses redefine the implementation of an interface while preserving the polymorphism of those classes. Also Known As Liskov Substitution Principle [LW93], Design by Contract [Meyer91], Base Class [Auer95] , Template Class [Woolf97]

Motivation