File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Regarding Multiple inheritance

santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 151

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

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

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Regarding Multiple inheritance
It's not a secret anymore!