| Polymorphism vs. Inheritance | ||||||||||||||
| What is Polymorphism? | Examples of Polymorphism | |||||||||||||
| Difference between Polymorphism and Inheritance | ||||||||||||||
| What can Polymorphism do? | ||||||||||||||
| Home | ||||||||||||||
| What can polymorphism do?
o Design and implement systems that are easily extensible. o New classes can be added with little/no modification to the generic portions of the program. o Only parts of the program that must be altered to accommodate new classes are those that require direct knowledge of the new classes that the programmer adds to the hierarchy. |
||||||||||||||