Are defaults in JDK 8 a form of multiple inheritance in Java?

The answer to the duplicate operation is:

To solve multiple inheritance issue a class implementing two interfaces providing a default implementation for the same method name and signature must provide an implementation of the method. [Full Article]

My answer to your question is: Yes, it is a form of multiple inheritance, because you can inherit behavior from different parents. What’s missing is to inherit states, i. e., attributes.

Leave a Comment