If in a class hierarchy, a derived class neglects to override a virtual function,what happens when an object of that derived class that function in...

      

If in a class hierarchy, a derived class neglects to override a virtual function,what happens when an object of that derived class that function in a computer program?

  

Answers


Davis
If a derived class does not override a non-pure virtual function, the derived class will use the base class's version of the virtual function.
Githiari answered the question on February 5, 2018 at 11:29


Next: What is unity of command?
Previous: What is the main advantage of run-time polymorphism? What is its potential disadvantage?

View More Computer Studies Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions