Introduction to Object Oriented Programming, 3rd Ed
Chapter 17
The Polymorphic Variable
Outline
- Roadmap
- Simple Polymorphic Variables
- The Receiver Variable
- The Receiver Variable In Frameworks
- Example, Repainting a Window
- Self and Super
- Downcasting (Reverse Polymorphism)
- Pure Polymorphism
- Another Example of Pure Polymorphism
- Chapter Summary
Other Material