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 is the difference between a debug and release build?
How many types of generations are there in a garbage collector?
Is .net core free?
What is il in vb.net?
How can you assign an rgb color to a system.drawing.color object?
What is the new three features of COM+ services, which are not there in COM (MTS)
What is smart navigation in .net?
What is difference between .net and .net core?
What is common language specification (cls)?
Please explain when should you use .net web forms over asp.net mvc?
What is a variable of implicit type and what is its scope?
What is multiThreading in .NET?
How many types of design patterns available in .NET?
What is assembly in .net?
How is a managed code executed?