How?s method overriding different from overloading?
Answer Posted / chinju
overriding is used for redefining a method in diferent ways.
overloading depends on the method signature not prototype.
method signature
1.no: of parameters or type of parameters or sequance of
parameter
not the return type
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a struct in C#?
What is a dimensional array?
What is anonymous types in c#?
What's the implicit name of the parameter that gets passed into the set method/property of a class?
What is the use of convert toint32 in c#?
What is difference between string and stringbuilder in c#?
What is threading in c# with example?
What is private static in c#?
What is an Interface in C#?
Is arraylist generic in c#?
What is a multicast delegate in c#?
Why do we use overloading in c#?
What is the difference between internal and protected in c#?
Is string value type c#?
What is c sharp used for?