+ 2
it is compile time polymorphism for further query check this link https://www.quora.com/Is-constructor-overloading-example-of-runtime-polymorphism
14th Nov 2017, 5:38 AM
MsJ
MsJ - avatar
+ 2
Another excellent answer. I also liked the article referenced in the Quora link: - http://www.geeksforgeeks.org/virtual-functions-and-runtime-polymorphism-in-c-set-1-introduction/
14th Nov 2017, 6:36 AM
David Carroll
David Carroll - avatar