What is hybrid inheritance give example?

Hybrid inheritance, also called multipath inheritance, is the process of deriving a class using more than one level or more than one mode of inheritance . For example, a class ‘marks’ is derived from class ‘stu’ by single level inheritance.

Sizin İçin Seçtik  Which inheritance is best in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *