What is an inheritance? Explain multi level inheritance.
Inheritance:-Inheritance means using the Predefined Code This is very Main Feature of OOP With the advantage of Inheritance we can use any code that is previously created. With the help of inheritance we uses the code that is previously defined but always Remember, We are only using that code but not changing that code. With the Advent of inheritance we are able to use predefined code and also able to add new code. All the predefined code is reside into the form of classes if we want to use that code then we have to inherit or extend that class. & In Multilevel Inheritance a Derived class can also inherited by another class Means in this Whena Derived Class again will be inherited by another Class then it creates a Multiple Levels.