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