java non-static to static method — hiding or overriding
问题 is re-defining a non-static method in a subclass with the same everything but as static overriding or hiding it ? http://docs.oracle.com/javase/tutorial/java/IandI/subclasses.html says hiding. but when i declare the superclass method as final, i get an override error. superclass declaration is final static void display() { ... } subclass: void display() { ... } gives override error. 回答1: Is re-defining a non-static method in a subclass with the same everything but as static overriding or