IntelliJ Java IDE
The moose likes Java Micro Edition and the fly likes Regarding Multiple inheritance Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply Bookmark "Regarding Multiple inheritance" Watch "Regarding Multiple inheritance" New topic
Author

Regarding Multiple inheritance

santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 95
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: 416

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

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


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
 
 
subject: Regarding Multiple inheritance
 
Threads others viewed
Interface
Interfaces question,
Multiple inheritance
why interface
Abstract, Interfaces!
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture