Java – Is there any good reason to use abstract classes in Java 9’s interfaces?

Is there any good reason to use abstract classes in Java 9’s interfaces?… here is a solution to the problem.

Is there any good reason to use abstract classes in Java 9’s interfaces?

Since the release of Java 9, is there any reason to use abstract classes anymore? It seems that from now on you can do anything with interfaces, and you can use interfaces for multiple inheritance.

Java SE 9: Interfaces

  • Constant variables
  • Abstract methods
  • Default method
  • Static methods
  • Private method
  • Private static methods

Am I missing something? I can’t find any good reason other than possible backwards compatibility.

Related Problems and Solutions