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
What do you mean by a windows process in regards to memory allocation?
What do you mean by jagged arrays in c#?
Why data types are important?
What I can do with c#?
What is different between Static Constructor and Private Constructor?
What is deferred execution in c#?
Define using statement in c#?
What is the difference between readkey and readline in c#?
Okay, so an int is a value type, and a class is a reference type. How can int be derived from object?
Can a sealed class be used as a base class?
Are tuples mutable c#?
Is xml tags are case sensitive?
What are the uses of namespaces?
Is an array an object c#?
Which is executed if an exception has not occurred?