All fields in interfaces in Java public static final .
Even after adding default methods, it still makes no sense to introduce mutable fields into interfaces.
Default methods have been added due to reasons for the evolution of the interface. You can add a new default interface to the interface, but it only makes sense if the implementation uses already defined methods in the interface:
public interface DefaultMethods { public int getValue(); public default int getValueIncremented() { if (UtilityMethod.helper()) {
source share