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 happens when you don't use super () constructor?

Leave a Reply

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