Re: Method ambiguity resolution

Isaac Gouy <[email protected]>
Newsgroups gmane.comp.lang.nice.general
Message-ID <[email protected]>
--- Andreas Schroeder <[email protected]> wrote:
> > The method flush is defined both in ObjectOutput and OutputStream
> > and the compiler doesn't which one to choose.

> The thing is: both ObjectOutput and OutputStream are inerfaces, and
> hence do not provide any implementation of the method - they are just
> declaring it.

In Nice, interfaces *can* contain method implementation. 

They are something like Traits and something like abstract class)
without state.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.