On Mon, Nov 28, 2011 at 6:19 AM, Uwe Schindler <[email protected]> wrote:
>> On Mon, Nov 28, 2011 at 6:03 AM, Uwe Schindler <[email protected]> wrote:
>> >> > The slight change is the last word. An interface is a more general
>> "supertype"
>> >> but definitely no "superclass".
>> >> >
>> >>
>> >> Sure it is, its a superclass with only pure virtual methods :)
>> >
>> > No, see Java Language Specification 3rd edition:
>> > http://java.sun.com/docs/books/jls/third_edition/html/classes.html
>> >
>>
>> Thats just fancy wording around the reality. Of course these are classes, 
>> thats
>> why you can do Class.forName("java.io.Closeable") and why you can do
>> java.io.Closeable.class !
>
> You mix "specification" with "implementation details". The specification and 
> javadocs are authoritative.

"Interface" is just java's implementation detail of multiple inheritance.


-- 
lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to