G

Gopal Sharma • 38.32K Points
Coach

Q. How can we make a class abstract?

  • (A) By making all member functions constant.
  • (B) By making at least one member function as pure virtual function.
  • (C) By declaring it abstract using the static keyword.
  • (D) By declaring it abstract using the virtual keyword.
  • Correct Answer - Option(B)
  • Views: 20
  • 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