Interview Questions

How is method overriding different from method overloading?

C# Interview Questions and Answers


(Continued from previous question...)

178. How is method overriding different from method overloading?

When overriding a method, you change the behavior of the method for the derived class. Overloading a method simply involves having another method with the same name within the class.

(Continued on next question...)

Other Interview Questions