An abstract class is one that is intended to be used as a base class .
At least one pure virtual function exists in an abstract class.
A pure virtual function is declared in the class declaration by using a pure specifier (= 0) in the declaration of a virtual member function.
Here is an example of an abstract class:
class AB { public: virtual void f() ...READ MORE
May 31, 2022
in C++
by
Damon
• 4,960 points
•
544 views