R

Ram Sharma • 193.86K Points
Coach

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
  • Correct Answer - Option(A)
  • Views: 125
  • Filed under category C++

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics