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

How to load the contents of an xml file into an xmldocument object?

597


What is the difference between .net and laravel?

571


What is UDDI and how to register the web service in it?

624


Please explain what is the difference between a class and an object?

572


Explain me what are the deferred execution and the immediate execution in linq?

539






How to implement datagrid in.net? How would you make a combo-box appear in one column of a datagrid? What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for datagrid methods. What is the access specifier used for that methods in the code behind file and why?

548


How to convert a .NET object into COM operabililty?

575


Which dll is required to translate xml to sql in internet information server (iis)?

535


Tell us why do we use the “using” statement?

547


Explain what are possible implementations of distributed applications in .net?

534


How to debug failed assembly binds?

604


Example from .net. Integer & struct are value types or reference types in .net?

544


What is garbage collection and how it works. Provide a code example of how you can enforce garbage collection in .net?

511


What is a .net class?

620


One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid this problem?

519