About Question com.enthuware.ets.scjp.v6.2.740 :
Posted: Wed Aug 03, 2016 12:09 pm
From the enthuware commentry:
"While declaring a method, static usually implies that it is
also final, this is not true for classes."
Although a class with a static method, not explicitly declared final, compiles, is it even possible to construct a situation where a static method is overridden?
As static methods don't override when one class extends another, I don't see how that could come about.
"While declaring a method, static usually implies that it is
also final, this is not true for classes."
Although a class with a static method, not explicitly declared final, compiles, is it even possible to construct a situation where a static method is overridden?
As static methods don't override when one class extends another, I don't see how that could come about.