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 03:15:24


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in 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!