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

Question:
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.

Posted Date:-2022-07-04 10:15:24


More MCQS Questions and answers

Search
Olete Team
Online Exam Test Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Test website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!