When to use inheritance
When you want to be able to say “Every Y is really a kind of X with some extra properties”
When you really want Y to be able to do everything X can do
This state of affairs leads to…
Previous slide
Next slide
Back to first slide
View graphic version