C++ Virtual Functions Question:
Download Job Interview Questions and Answers PDF
Do you know what is overriding?
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 Interview Questions And Answers
PDF
Previous Question | Next Question |
Do you know what are static and dynamic type checking? | What is problem with overriding functions? |