In reply to Harshad:
Dynamic casting is not an example polymorphism because it requires prior knowledge of a class extension to perform the cast.
In reply to Harshad:
Dynamic casting is not an example polymorphism because it requires prior knowledge of a class extension to perform the cast.