Q. How can we make a class abstract? (Solved)

1. By making all member functions constant.

2. By making at least one member function as pure virtual function.

3. By declaring it abstract using the static keyword.

4. By declaring it abstract using the virtual keywor

  • b. By making at least one member function as pure virtual function.
Subscribe Now

Get All Updates & News