Introduction to Object Oriented Programming, 3rd Ed
Chapter 14
Polymorphism and Software Reuse
Outline
- Roadmap
- Definition of Polymorphic
- Major Forms of Polymorphism in Object Oriented Languages
- Two Approaches to Software Reuse
- Example -- Building Sets from Lists
- Using Inheritance
- Using Composition
- Advantages and Disadvantages of Each Mechanism
Other Material