Which of the following is not correct for virtual function in C++?
A)Must be declared in public section of a class.
B)Virtual function can be static.
C)Virtual function should be accessed using pointers.
D)Virtual function is defined in the base class.
Solution:
B) is Correct
Virtual function is can’t be static in C++.