aspose file tools*
The moose likes Beginning Java and the fly likes why java doesn,t support multiple inheritance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "why java doesn,t support multiple inheritance" Watch "why java doesn,t support multiple inheritance" New topic
Author

why java doesn,t support multiple inheritance

ajay verma
Ranch Hand

Joined: Dec 10, 2007
Posts: 37
why java doesn,t support multiple inheritance and why interface supports
multiple inheritance?
kindly guide me with the proper answer!
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39885
    
  28
Somebody else asked the same question here recently.
Amod Mulay
Ranch Hand

Joined: Apr 06, 2006
Posts: 33
read this
multiple
javaworld
Bill Shirley
Ranch Hand

Joined: Nov 08, 2007
Posts: 457
click the Search link at the top of the page,
type in "multiple inheritance",

(insert pleasantry, don't use curse words, insert pleasantry, don't use curse words, insert pleasantry, don't use curse words)

and have a nice day


Bill Shirley - bshirley - frazerbilt.com
if (Posts < 30) you.read( JavaRanchFAQ);
Sunny Jain
Ranch Hand

Joined: Jul 23, 2007
Posts: 433

Java doesn't support multiple inheritance because of "Deadly diamond of Death", Interface does support..because we don't implement any thing inside interface..!!
you can also refer to following 10 lines article for the same :
deadly-diamond-of-death


Thanks and Regards,
SCJP 1.5 (90%), SCWCD 1.5 (85%), The Jovial Java, java.util.concurrent tutorial
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: why java doesn,t support multiple inheritance