Interview Questions

How is method overriding different from overloading?

C# Interview Questions and Answers


(Continued from previous question...)

50. How is method overriding different from overloading?

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

(Continued on next question...)

Other Interview Questions