Friday, December 3, 2010

Liskov Substitution Principle (LSP)

Liskov Substitution Principle (LSP) - An object of a derived type should behave fine when passed to a function that accepts objects of the base type.

References:
Liskov, Barbara; Wing, Jeannette (1993-07-16). Family Values: A Behavioral Notion of Subtyping
http://en.wikipedia.org/wiki/Liskov_substitution_principle

No comments:

Post a Comment