How the multiple inheritance is implemented in Java?

The only way to implement multiple inheritance is to implement multiple interfaces in a class . In java, one class can implements two or more interfaces. This also does not cause any ambiguity because all methods declared in interfaces are implemented in class.

Sizin İçin Seçtik  What happens if you don't call super constructor Java?

Leave a Reply

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