Introduction to OOP Chapter 19: Container Classes : next previous audio real text

Using Substitution and Overriding

In certain situations we can eliminate the downcast, replacing it with overriding.

This only works, however, if you can predict ahead of time what operations you want to do on a collection.

Intro OOP, Chapter 19, Slide 09