[first slide]
Introduction to Object Oriented Programming
Chapter 14
Polymorphism
Outline
- Definition
- Polymorphism in Programming Languages
- Polymorphism in untyped languages
- Forms of Polymorphism
- Polymorphic variables
- Overloading
- Florist Example from Chapter 1
- Type Signatures
- Overriding
- Subclasses of Magnitude in Little Smalltalk
- Example - from class Magnitude
- Overridden Methods
- Frameworks
- An Upside Down Library
- Portable Algorithms
- Deferred Methods
- Deferred Method in C++
- Pure Polymorphism
- Smalltalk Example
- Generics and Templates
- Efficiency and Polymorphism
Other Material