C++ Virtual Functions Question:
What is problem with overriding functions?
Answer:
Overriding of functions occurs in Inheritance. A derived class may override a base class member function. In overriding, the function names and parameter list are same in both the functions.
Previous Question | Next Question |
Do you know what is overriding? | Explain object slicing in C++? |