I hope you know the concept of polymorphism. Compile time polymorphism is called static polymorphism. Ex. overloading and overriding member functions. But they should not be virtual functions.
divi
Dec 13th, 2013
I hope you know the concept of polymorphism.
Compile time polymorphism is called static polymorphism.
Ex. overloading and overriding member functions. But they should not be virtual functions.
rohitsuri
Sep 11th, 2014
when function call is resolve at compile time then it is called static polymorphism
Youssef Arbach
Dec 12th, 2014
Static polymorphism could be seen also with Templates, since the selection of the write function is done at compile time. Usually with inheritance (and call-by ref sure) polymorphism is dynamic, unless it is a call by-value, then there would be no morphism at all.
rdl
Dec 28th, 2014
The call to a function is resolved at compile time. Eg., function overloading and templates.
Static Polymorphism
Questions by saima_khan
Related Answered Questions
Related Open Questions