Since Java 8 we can have static interfaces, like this:
public interface MyInterface {
public static String getData(String data){
return null;
}
public static boolean isValidData(String data){
return false;
}
}
But what's the case when it makes sense to have an interface for static methods?