Multiple choice

A function that is declared within the base class, but redefined inside the derived class is called

  1. virtual function

  2. inline function

  3. constructor

  4. static member function

  5. non-public constructor

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A virtual function is a member function that is declared within the base class, but redefined inside the derived class.