C++ Virtual Functions Question:

Do you know what is overriding?

Tweet Share WhatsApp

Answer:

Defining a function in the derived class with same name as in the parent class is called overriding. In C++, the base class member can be overridden by the derived.

Download C++ Virtual Functions PDF Read All 30 C++ Virtual Functions Questions
Previous QuestionNext Question
Do you know what are static and dynamic type checking?What is problem with overriding functions?