Differentiate between method overriding from method overloading with its functionality?
Answer / Ankur Sudhanshu
Method Overriding refers to a situation where a derived class provides a new implementation for an existing method in the base class. This allows the child class to modify or replace the behavior of the parent class method. Method Overloading, on the other hand, occurs when there are multiple methods with the same name but different parameter lists within the same class, enabling the programmer to call the appropriate method based on the provided arguments.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can property defined in Interface.
How do I trim a space in c#?
What does clr stand for?
Do vs while c#?
What?s an interface class?
What are satellite assemblies?
Why constructor is used in c#?
What is the default value of singleordefault?
What are the types of access modifiers?
Can partial class be inherited?
wt is namespace? wt is the use?
Difference between a sub and a function in c#.
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)