Why can’t I define a static method in a Java interface?
Java 8 permits static interface methods With Java 8, interfaces can have static methods. They can also have concrete instance methods, but not instance fields. There are really two questions here: Why, in the bad old days, couldn’t interfaces contain static methods? Why can’t static methods be overridden? Static methods in interfaces There was no … Read more