Chapter 15 Notes: Polymorphism
Polymorphism
Permits same method name to invoke one
operation in objects of a parent class and a different
operation in objects of a derived class
function to be invoked determined dynamically
Default static binding
Use keyword "virtual" to get dynamic binding in
front of the "prototype" in the class definition.
Virtual used in both parent and derived class
Object changes its appearance i.e., transforms
Author's Slides
examples
Beach Hunt example