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 |
What is the difference between protected and protected internal?
What is cookies in c# asp net?
Define an escape sequence, name few strings in escape sequence?
Describe a Struct ?
What does a constructor do c#?
What is option parameter in C#?
i have a string aabccefsdss.how can i get the string abcefsd. or write the fallowing string with only character occurrence of once .
What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?
How can we convert XML Data to DataBase Table in C#.Net?
What do you know about Translate Accelerator?
Is there a way to force garbage collection?
What are object oriented concepts?
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)