At 10:49 19.05.2003 -0400, Updike, Clark wrote:
>You can't override a static method... only 'hide' or 'shadow' it.
>That is fundamental to java (not a jython problem).
Indeed. It could make sense for jythonc (or its future equivalent) to add
the possibility to define static methods, but is really more a nice to have.
An interface in Java (the language construct) cannot involve static
methods, and this is true for an interface also in the loose sense (unless
reflection is used on the client side (rare)). That means that complying
with an interface does not ever require static methods (unless reflection
is used on the client side (rare)).
All access to static methods involve a statically declared class (up to
MyClass obj = ...;
No dynamic dispatch happens with static methods.