C# (Sharp) Programming Language Question:

Download Job Interview Questions and Answers PDF

How is method overriding different from overloading?

C# (Sharp) Programming Language Interview Question
C# (Sharp) Programming Language Interview Question

Answer:

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

Download C# (Sharp) Programming Language Interview Questions And Answers PDF

Previous QuestionNext Question
What is a satellite assembly?When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choice or decision based on UML diagram)?