What is multiple inheritance explain with example how is it achieved in Java?

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  Why is diamond a problem?

Leave a Reply

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