what is the difference between multilevel and multiple inheritance explain with examples?
The difference between Multiple and Multilevel inheritances is that Multiple Inheritance is when a class inherits from many base classes while Multilevel Inheritance is when a class inherits from a derived class, making that derived class a base class for a new class.