Update: I know that a static method can't be abstract, and I know why, and it's not a question like 'Whether it's possible?' or 'why it's not possible?', I just want to know if there's any way to get what I want.
Well, if you heard about @classmethod in python, you can skip the rest.
And here's what I want: In some cases, some methods are just functions, what I only need is its functionality. However, in Java, you have to put everything in a class, so I have to wrap these function in a class and set them static. The thing is, for classes like this one, I don't, and I shouldn't need any of its instance. And in the mean time, I want some hierarchy for classes like this. The hierarchy here works like some 'control': I can control sub-classes for what you should do, aka what method/function you should have.
As we all known, we can't declare a static abstract
method in a class.
However, there can be situations when you only need the method rather than an instance, and you need the method to be abstract and implement it in sub-classes.
Some guys pointed out that this may be a poor design in java, but is there any possible solution for this?