Multiple choice

Which of the following is not the characteristic of virtual function?

  1. Virtual functions are member functions of a class.

  2. Virtual function takes a different functionality in the derived class.

  3. Virtual functions are declared with the keyword virtual.

  4. Virtual functions are resolved during compile time.

  5. Virtual function is a mechanism to implement the concept of polymorphism.

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

It is not the characteristic of virtual function because virtual functions are resolved during run time.