Reputation: 56
I know what overriding is. As overriding is run-time polymorphism it works during run-time. But everything seems compile-time to me as the code works after the compiling phase. Can you help me to visualize the run-time polymorphism that how it decides during run-time?
Upvotes: 0
Views: 63
Reputation: 703
Run-time polymorphism work base on vtable
& vpointer
concept. For more detail, please see this article
Upvotes: 2