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 constructor be protected in c#?
To allow an element to be accessed using a unique key which .NET collection class is used ?
Why we put script in head of asp.net page Why not in body?
Wats the diff between sealed class and private class in inheritance
What are the uses of delegates in c#?
What?s the implicit name of the parameter that gets passed into the class? set method?
What is static variable in c#?
Can you change the value of a variable while debugging a C# application?
What is data types in c#?
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
What is out in c#?
What is asynchronous one-way calls?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)