Which of the following is not correct for virtual function in C++?

1
Must be declared in public section of class.
2
Virtual function can be static.
3
Virtual function should be accessed using pointers.
4
Virtual function is defined in base class.

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation