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
Is Driver Script any how related to AOM?
Define marshling?
Should I use readerwriterlock instead of monitor.enter/exit?
Can you create instance of a class which has private constructor?
What is implement a generic action in webapi?
Whate are resource files?
What does cli do?
Explain how to spawn a thread?
Explain me why do we use msmq?
Please explain what are an inheritance, polymorphism, and encapsulation?
What are situations when you register .NET assembly in GAC ?
What is il in vb.net?
What is RCW (Run time Callable Wrappers)?
Sql Queries: A Table will be given Omiting Duplicate rows and adding a new column
Which dll translate xml to sql in internet information server (iis)?