commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz" <p...@steitz.com>
Subject Re: [math][functor] More Design Concerns
Date Fri, 27 Jun 2003 06:17:22 GMT
Al Chou wrote:
> --- Phil Steitz <phil@steitz.com> wrote:



> 
> Does staticness preclude extensibility?  I assume final-ity would, but we
> didn't declare any methods final, AFAIK.
> 

Strictly speaking, no; but static methods do not support polymorphism 
and inheritance in the way that instance methods do.  Static methods 
cannot be overridden in Java.  check out
http://www.javaworld.com/javaworld/javaqa/2001-05/01-qa-0504-oo.html
or to get the exact scoop:
http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html#228745

Phil


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message