Object-oriented programming (OOPs) Question:
Download Questions PDF

What is Overriding?

Answer:

Method overriding is a feature that allows to invoke functions (that have the same signatures) and that belong to different classes in the same hierarchy of inheritance using the base class reference. In C# it is done using keywords virtual and overrides .

Download OOP Interview Questions And Answers PDF

Previous QuestionNext Question
What is Method overloading?Default Access modifiers in C#?