what is the difference between single inheritance and multiple inheritance?
Single inheritance is one in which the derived class inherits the single base class. Whereas multiple inheritance is one in which the derived class acquires two or more base classes. ... While in multiple inheritance, the derived class uses the joint features of the inherited base classes.