Q7. What is the base class? What is derived class? How are these two interrelated?
Ans. A derived class is a class that inherits properties from some other class.
A base class is a class whose properties are inherited by derived class.
A derived class has nearly all the properties of base class but the reverse of it is not true.