commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Al Chou <hotfusion...@yahoo.com>
Subject Re: [math][functor] More Design Concerns
Date Fri, 27 Jun 2003 18:11:17 GMT
--- Phil Steitz <phil@steitz.com> wrote:
> 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

I clearly have never studied for a Java certification. <g>  Thanks for the
clarification, Phil.


Al

=====
Albert Davidson Chou

    Get answers to Mac questions at http://www.Mac-Mgrs.org/ .

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
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