| Matthew T. Adams 2006-07-20, 7:11 pm |
| >-----Original Message-----[vbcol=seagreen]
>From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM]
>Sent: Thursday, July 20, 2006 8:59 AM
>To: Robin M. Roos
>Cc: JDO Expert Group; Apache JDO project
>Subject: Re: Persistent Interfaces in JDO 2.0
>
>
>Java has this same restriction. A class that implements multiple
>interfaces must have identical implementations for methods from the
>multiple interfaces that have the same signature. There's no way to
>disambiguate the methods of one interface from the others. Do other
>languages allow different behavior?
C# (and potentially other .NET-compliant languages), actually. It's a
concept called "explicit interface implementation", I believe. Yes:
http://msdn2.microsoft.com/en-us/library/ms173157.aspx
--matthew
|