Lets suppose I have code like this:
public interface JustAnInterface {
void doSomething();
}
public class JustAnInterfaceImplementation implements JustAnInterface {
@Override
public static void doSomething() {
}
}
Why does static doSomething() method shows the error "Method does not override method from its superclass"?