posted 20 years ago
Nope, but they can be hidden. Static methods are not polymorphic. Consider the following:
In this scenario, instances of C can accesses any of the static methods by qualifying the call with the class:
But now C can no longer access the instance methods of A since a super call only applies to B. In the above example, if the class qualifier is removed, then the hidden static method defined in the subclass will be called or the most immediate super class that hides the static method.
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher