Abstract Base Class in C++

What is Abstract Base Class ? (ABC) ? Abstract Class is a conceptual class, which contains at least one Pure Virtual function in it. Abstract classes are used to provide an Interface for its sub classes. Classes inheriting an Abstract Class must provide definition to the pure virtual function, otherwise they will also become abstract class. Syntax: Abstract Base Class What is Pure Virtual Function in c++ ? Pure virtual Functions are virtual functions with no definition or no body part. They start with virtual keyword and ends with =…

Read More