Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
2.20/5 (3 votes)
See more:
How can I achieve runtime polymorphism
Posted
Updated 28-Feb-14 15:07pm
v2
Comments
Sergey Alexandrovich Kryukov 28-Feb-14 9:41am    
Non-runtime polymorphism is a myth.
—SA

You use inheritance and overridden virtual functions. Good luck with your school test/assignment.
 
Share this answer
 
You can refer the below link for more understanding.

run-time polymorphism VS compile-time polymorphism[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900