In Java 8+ interfaces can provide default implementations, but they require the default
keyword. Something like,
public interface SomethingIsWrong {
default void aMethod(int aValue) {
System.out.println("Hi Mom");
}
}
In Java 8+ interfaces can provide default implementations, but they require the default
keyword. Something like,
public interface SomethingIsWrong {
default void aMethod(int aValue) {
System.out.println("Hi Mom");
}
}