Object-oriented programming (OOPs) Question:

What is Overriding?

Tweet Share WhatsApp

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 PDF Read All 37 OOP Questions
Previous QuestionNext Question
What is Method overloading?Default Access modifiers in C#?