I have a class that will be subclassed. All subclasses must contain a static method with the same signature, but differnt for each one.
I would like to have an abstract instance method in the superclass that subclasses will override, but it seems mot possible in Java, I wonder why.
A silly example:
Image{ abstract String getExtension();...
RGBImage extends Image{ static String getExtension(){return "RGB"};..
PNGImage extends Image{ static String getExtension(){return "PNG"};...