Multilevel inheritance refers to a situation where a class extends another class, and then a third class extends the second class. This creates a chain of inheritance with multiple levels.
When there is a chain of inheritance, it is known as multilevel inheritance.
source code :-
previous video link:- • what is inheritance in java | Advantage of...