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  Is Java only single inheritance?

Leave a Reply

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