aspose file tools*
The moose likes Java Micro Edition and the fly likes Regarding Multiple inheritance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Regarding Multiple inheritance" Watch "Regarding Multiple inheritance" New topic
Author

Regarding Multiple inheritance

santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 146
hi,

I am new to java can you tell why java does not support multiple inheritance what is the drawback in multiple inheritance.



Thanking You.
Pushkar Choudhary
Rancher

Joined: May 21, 2006
Posts: 425

This question has been posted and answered on the web a million times. Please SearchFirst. This is one link explaining the same.
Srikanth Nalam
Greenhorn

Joined: Feb 23, 2010
Posts: 20
Hi Santosh,

I have tried to find the answer for this problem. I understood that it is not supported because of the following reasons
1.To avoid the Deadly Diamond of Death problem
2.To satisfy the one of the design goal of java "Simple, Object oriented and familiar". Details

Now how to achieve the same in java is explaned here


Thanks & Regards,
Srikanth Nalam.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16250
    
  21

We do have forums dedicated to Java In General. This isn't really a question specific to Java Micro Edition.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
 
subject: Regarding Multiple inheritance