Re: OO Concept: Liskov Substitution Principle
- From: Lew <conrad@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 30 May 2008 19:13:14 -0400
howa wrote:
Hi,
Just read an article talking about the LSP in term of OO design:
http://www.objectmentor.com/resources/articles/lsp.pdf
The article said Rectangle class should not be a superclass of Square
class.
There are perfectly valid ways to implement Square as a subclass of Rectangle.
--
Lew
.
- References:
- OO Concept: Liskov Substitution Principle
- From: howa
- OO Concept: Liskov Substitution Principle
- Prev by Date: Re: could anyome offer me assistance???
- Next by Date: Re: OO Concept: Liskov Substitution Principle
- Previous by thread: Re: OO Concept: Liskov Substitution Principle
- Next by thread: Newbie Eclipse question: Exported jar file does nothing upon execution
- Index(es):
Relevant Pages
|
|