How?s method overriding different from overloading?
Answer Posted / porchelvi.a
Overloading Vs. Overriding:
->Overloading is nothing but static binding.
->Overriding is dynamic binding which will be resolved at
run-time.
->Overloading deals with multiple methods in the same
class with the same name but different signatures.
->Overriding deals with two methods, one in a parent class
and one in a child class, which have the same signature.
->Overloading lets you define a similar operation in
different ways for different data.
->Overriding lets you define a similar operation in
different ways for different object types.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Why dictionary is faster than list?
what is the difference between .dll and .exe
How do I calculate relative time?
if you do have a stack overflow profile.what is your ranking?
Explain circular reference in c#?
If I have more than one version of one assemblies, then how'll I use old version (how/where to specify version number?)in my application?
What are desktop applications examples?
Why do we need private constructor in c#?
What is out int in c#?
How long can a string be c#?
What is stringreader in c#?
How can you force derived classes to provide new method implementations for virtual methods?
What are the different types of assembly?
Can we make a Static Constructor Parameterized? Give Reason with your answer
In gridview in editmode if we want to display information in one combobox based on