What is multiple inheritance in java with example?

When one class extends more than one classes then this is called multiple inheritance. For example: Class C extends class A and B then this type of inheritance is known as multiple inheritance. Java doesn’t allow multiple inheritance.

Sizin İçin Seçtik  What is the example of inheritance in Java?

Leave a Reply

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