How?s method overriding different from overloading?
Answers were Sorted based on User's Feedback
Answer / nitin kumar tomar
Overriding : different methods with the same name but
different Implimentation
Overloading : Several Methods with different signature but
the same name
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / guest
When overriding, you change the method behavior for a
derived class. Overloading simply involves having a method
with the same name within the class.
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / 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 |
Can we call server-side code (c# or vb.net code) from javascript?
What is the difference between first and firstordefault?
What's the difference between the debug class and trace class? Documentation looks the same.
What does return do in for loop?
What is garbage collection? How to force garbage collector to run?
Explain static class members.
Define multicast delegate in c#?
What is yield c#?
What are the ways to deploy an assembly?
C# is case sensitive, what is mean by case sensitive
Define delegate in c#?
What is data reader in c#?