Which of the following C++ statements correctly declares an abstract class?
UGC NET 2024
Which of the following C++ statements correctly declares an abstract class?
- A.
class A { virtual void show()=0; };
- B.
class A { void show()=0; };
- C.
class A { void show() { } };
- D.
class A { show()=0; };
Attempted by 249 students.
Sign up free to check your answer
Sign up freeLoading lesson…

