Does Constructor Overloading comes under Polymorphism? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Does Constructor Overloading comes under Polymorphism?

If it is so, then which type of Polymorphism it is. Run time or Compile time.....

14th Nov 2017, 5:08 AM
SHIVA KUMAR D
SHIVA KUMAR D - avatar
2 Answers
+ 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