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
How to load the contents of an xml file into an xmldocument object?
What is the difference between .net and laravel?
What is UDDI and how to register the web service in it?
Please explain what is the difference between a class and an object?
Explain me what are the deferred execution and the immediate execution in linq?
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?
How to convert a .NET object into COM operabililty?
Which dll is required to translate xml to sql in internet information server (iis)?
Tell us why do we use the “using” statement?
Explain what are possible implementations of distributed applications in .net?
How to debug failed assembly binds?
Example from .net. Integer & struct are value types or reference types in .net?
What is garbage collection and how it works. Provide a code example of how you can enforce garbage collection in .net?
What is a .net class?
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?