What is an abstract class in c++
In : BCA Subject : OOPS and Data StructuresAn abstract class is a class that cannot be used to create objects directly.
It is meant to be a base class for other classes.
It has at least one pure virtual function, which means the function doesn’t have a body in the abstract class.
— it just says “any subclass must implement this function.”