C# (Sharp) Programming Language Question:

How is method overriding different from method overloading?

Tweet Share WhatsApp

Answer:

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.

Download C# (Sharp) Programming Language PDF Read All 163 C# (Sharp) Programming Language Questions
Previous QuestionNext Question
What does the keyword “virtual” declare for a method or property?Can you declare an override method to be static if the original method is not static?