[4405] in java-interest
Re: interfaces
daemon@ATHENA.MIT.EDU (satoh-HAL-osamu)
Fri Dec 22 04:20:29 1995
From: satoh-HAL-osamu <satoo@pfu.fujitsu.co.jp>
To: "Jeremy Fitzhardinge" <jeremy@suede.sw.oz.au>
Cc: java-interest@webrunner.neato.org
In-Reply-To: Your message of "Fri, 22 Dec 1995 18:14:48 EST."
<9512221814.ZM11112@suede.sw.oz.au>
Date: Fri, 22 Dec 1995 16:46:34 +0900
J:
> A more important question about interfaces: will Java provide a
> mechanism for referring to a method of a particular implemented
> interface? If class Foo implements Bar and Groo, and both interfaces
> have a method of the same name, there's no way Foo can implement both.
> Not only is there no syntax for this, but there's no way of
> representing it in a class file.
I think, each class who implements multiple interfaces
should provide ONLY ONE method for identical method
prototypes. If one class can provide two or more method for
one method prototype, it may require name resolution such
likes C++'s one. And it makes Java a bit complex.
SATOH Osamu
research center, PFU Ltd., Tokyo, Japan
satoo@pfu.fujitsu.co.jp
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com