What is RunTime Polymorphism?
Answer Posted / om namo bhagavathe vasudevaya
polymorpism is of two types
1)compile time polymorpism 2)run time polymorpism
compile time polymorpism:-it can call the functions during
compile time example:-opporator overloading
in the operater overloading based on the parameters and
return type of the functions are called
runtime polymorpism:-it can call functions during runtime
example:-opporator overridding
in opperator overridding the functions in both base class
and derived class have same signature(same parameters type
and same return type) based on the object used appropriate
method will be called
| Is This Answer Correct ? | 59 Yes | 5 No |
Post New Answer View All Answers
What makes .net core cross platform?
What is the need of OLE-automation?
Explain how to produce an assembly?
Explain how to redirect tracing to a file?
What is equivalent for regsvr32 exe in .net ?
Elements of CAS
What is the difference between .net and laravel?
How to prepare parametrized (with more than one parameters) crystal report. Please tell me the code procedure, if any body can?
How to spawn a thread?
Explain me what is an anonymous method and how is it different from a lambda expression?
Please explain what are an inheritance, polymorphism, and encapsulation?
Why inheritance is important?
What is the benefit of .net core?
What is .net and .net framework?
Who is using .net core?