2. Unused polymorphism
Variables declared with general type, used with more specific type
Ex: given a generic list that contains only integers, report that the contents are sorted
Also applicable to subtype polymorphism
Previous slide
Next slide
Back to first slide
View graphic version