C# (Sharp) Programming Language Question:
Download Job Interview Questions and Answers PDF
How is method overriding different from method overloading?
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 Interview Questions And Answers
PDF
Previous Question | Next 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? |