Multilevel inheritance
When we have a child class and grandchild class – it is called multilevel inheritance i.e. when a class inherits on second class and second class further inherits on another class.
In this program, we have a parent class named Details1 which is inheriting on class Details2 and class Details2 further inheriting on the class Details3.
Python code to demonstrate example of multilevel inheritance
Output
need an explanation for this answer? contact us directly to get an explanation for this answer