The question is in Java why can\'t I define an abstract static method? for example
abstract class foo {
abstract void bar( ); // <-- this is ok
ab
First, a key point about abstract classes - An abstract class cannot be instantiated (see wiki). So, you can't create any instance of an abstract class.
Now, the way java deals with static methods is by sharing the method with all the instances of that class.
So, If you can't instantiate a class, that class can't have abstract static methods since an abstract method begs to be extended.
Boom.