[4384] in java-interest
Re: interfaces
daemon@ATHENA.MIT.EDU (Ken Arnold - Sun Labs)
Thu Dec 21 14:18:20 1995
Date: Thu, 21 Dec 1995 12:13:35 -0500
From: arnold@suneast.East.Sun.COM (Ken Arnold - Sun Labs)
To: java-interest@webrunner.neato.org
An interface can only extend another interface. This means that
interfaces cannot have any implementation. A class can implement
any number of interfaces. Extending a class that implements an
interface just gets you another class.
A class that declares that it implements an interface, but then
only actually implements some of its methods, is an abstract class.
This is perfectly legal.
Ken
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com