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


Please Help Members By Posting Answers For Below Questions

What is equivalent for regsvr32 exe in .net ?

768


What is the microsoft .net?

684


Explain when should you use .net web forms over asp.net mvc?

594


What is the root class in .net?

748


How will you do redo and undo in textbox control?

653






What is garbage collection in .net? Explain the garbage collection process?

653


Differences between datagrid, datalist and repeater in .net?

615


What is Finalizer in .NET define Dispose and Finalize ?

671


What is the intermediate language between asp and asp.net1.0?

1539


How server form post-back works?

674


What are Attributes in .NET?

655


What are the purposes of using .net?

691


What is the native image generator?

700


How do you instantiate a complex number?

673


Explain what is the difference between response.redirect & server.transfer?

631