Object Oriented Programming20825 marksAbstract classes and concrete classes
What is the difference between abstract class and concrete class? Explain with example.
What is the difference between abstract class and concrete class? Explain with example. [5]
C++ has no abstract keyword. A class becomes abstract the moment it declares at least one pure virtual function, written by putting = 0 after a virtual member function instead of a body: An abstract class cannot be instantiated. The compiler refuses Shape s; with "cannot declare variable of abstr...