
Abstract Base Class(ABC) Creation
Question: How do I convert a class into an abstract base class without using a pure virtual member function in it? Answer: If your goal is to disable instantiation of a given class while allowing instantiation of classes that are derived from it, you can declare the class’s constructor, destructor,