Q19. What is a baseclass? What is a subclass? What is the relationship between a baseclass and subclass?
Ans. A baseclass is a class whose properties are inherited by other classes (its subclasses).
A subclass is class which inherits properties from its base class.
A sub class has nearly all the properties of base class but the reverse of it is not true.