[4338] in java-interest

home help back first fref pref prev next nref lref last post

Re: (no subject)

daemon@ATHENA.MIT.EDU (tywang)
Tue Dec 19 07:59:45 1995

Date: Tue, 19 Dec 1995 18:38:44 +0800
From: tywang <tywang@csie.nctu.edu.tw>
To: java-interest@java.sun.com

Ben Black wrote:
> 
> On Tue, 19 Dec 1995, tywang wrote:
> 
> > I don't understand interface well. How can it implement
> >       multiple inheritance, and how does
> java does not support multiple inheritance.  it is a very complex feature
> to implement and is not terribly useful in general.
> >
> >                       "interface A extends B"
> >
> >       in which B is a typename of class means ?? Isn't interface
> >       a collection of method ??
> yes, you are specifying a set of methods (not their implementation, just
> their interfaces) which a class must implement if it is to conform to the
> interface.  interfaces are not classes...they are similar to abstract
> superclasses, but not identical.

	  Thansk for your reply, but I still feel strange that B has
	not only interfaces, but also implement parts(because B is a
	class)....  "a interface inherit a class" would you feel 
	strange ??
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post