Define Abstract class
Abstract class is a class which has at least one pure virtual function in it.
What are the rules of using constructor in inheritance?
- To call parameterized constructor of base class inside the parameterized constructor of derived class, we have to maintain it explicitly.
- Whenever the derived classes default constructor is called the base classes default constructor called automatically.