To define an abstract class in C++, at least one member function must be declared as _______. 

  • inline 
  • pure virtual 
  • private 
  • constant
In C++, an abstract class is defined by having at least one pure virtual function. This means the function is declared but not defined within the class, ensuring that derived classes must implement it.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *