[Exercise 11]

Inheritance / virtual Functions I

description | solution | discussion
exercises after lesson "Inheritance"
list of all exercises

This is a short test where you can test whether you understand the concept of virtual functions. Take a look at the program exer11.cpp (*) and determine for each member function call in main(), which function gets called without the use of a compiler. Check the right answer by running the program.

Solution:

Discussion of solution (*)