Article View: borland.public.jbuilder.java.language
Article #19876Re: Multiple Inheritance
From: Bruno da Silva Bozza
Date: Mon, 01 Dec 1997 00:00
Date: Mon, 01 Dec 1997 00:00
17 lines
1237 bytes
1237 bytes
Carl Hewitt wrote:
> The designers of Java thought that multiple inheritance can cause
> problems and wanted to get rid of stuff in C++ that they thought was bad
> design specs. I know that this is a religious issue, and am not making
> a stated preference one way or the other. I do happen to like the way
> that Java operates though.
Thanks, Carl, but it still doesn't answer my question. What I'm raising
is why use multiple interface inheritance, then? I first thought of instance
variable name clashing, but it can happen with interface methods too.
Another question that came up to me is: what is the difference between
interfaces and pure abstract classes (with only abstrac methods), other than
the fact that you can't inherit from multiple classes?
Technical Details
Message-ID:
<348338FB.14C7BE0C@aol.com.br>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<34820D78.3F11372@aol.com.br> <3482B8D6.BA6AA550@oop.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,80129170e9818cce X-Google-Attributes: gidf74b3,public From: Bruno da Silva Bozza <bozza@aol.com.br> Subject: Re: Multiple Inheritance Date: 1997/12/01 Message-ID: <348338FB.14C7BE0C@aol.com.br> X-Deja-AN: 294331992 References: <34820D78.3F11372@aol.com.br> <3482B8D6.BA6AA550@oop.com> To: carl@oop.com Organization: None Newsgroups: borland.public.jbuilder.java.language