What does redefining static methods mean in Java?
问题 I've been reading a section on Statics in the SCJP study guide, and it mentions the following : static methods can't be overridden, but they can be redefined What does redefining actually mean? Is it a case of having a static method that exists in both parent and child, with the same signature, however they are referenced separately by their class names? Such as : class Parent { static void doSomething(String s){}; } class Child extends Parent { static void doSomething(String s){}; }