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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Regarding Multiple inheritance" Watch "Regarding Multiple inheritance" New topic

Regarding Multiple inheritance

santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 148

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

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

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: 16879

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.
jQuery in Action, 3rd edition
subject: Regarding Multiple inheritance
It's not a secret anymore!