||Readable Java 1.5|
|Subject:||Cholesterol - WTF?|
Response to: Cholesterol - WTF?
|Static methods are not called polymorphically. They are called by the name of the class they belong to, and not by using an object that's an instance of the class they belong to. So of course they can't be overridden in subclasses. If you want a method that's overridable, simply don't make it static.|
Showing messages 1 through 1 of 1.
Cholesterol - WTF? - I want Smalltalk
2003-10-03 22:02:31 anonymous2 [View]