Differentiate between method overriding from method overloading with its functionality?



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

Post New Answer

More C Sharp Interview Questions

Can property defined in Interface.

4 Answers   Synechron,


How do I trim a space in c#?

1 Answers  


What does clr stand for?

1 Answers  


Do vs while c#?

1 Answers  


What?s an interface class?

1 Answers  


What are satellite assemblies?

1 Answers  


Why constructor is used in c#?

1 Answers  


What is the default value of singleordefault?

1 Answers  


What are the types of access modifiers?

1 Answers  


Can partial class be inherited?

1 Answers  


wt is namespace? wt is the use?

12 Answers  


Difference between a sub and a function in c#.

1 Answers  


Categories