Home / Report Question

Q. How do we declare an abstract class?
  • A. It is not possible to create abstract classes in C++
  • B. By declaring the class abstract with the keyword ‘abstract’
  • C. By declaring at least one method abstract using the keyword ‘abstract’ in a class
  • D. By providing at least one pure virtual method (function signature followed by ==0;) in a class