Home »
MCQs »
OOPs MCQs
Which of the following statement is not true for virtual functions?
81. Which of the following statement is not true for virtual functions?
- The virtual function must be members of some class
- The virtual function can be a static member
- Virtual functions are accessed by using an object pointer
- The virtual function can be a friend of another class
Answer: B) The virtual function can be a static member
Explanation:
Virtual function cannot be a static member.