Forums Register Login

Regarding Multiple inheritance

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
This question has been posted and answered on the web a million times. Please SearchFirst. This is one link explaining the same.
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
We do have forums dedicated to Java In General. This isn't really a question specific to Java Micro Edition.
Would you turn that thing down? I'm controlling a mind here! Look ... look at the tiny ad ...
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1195 times.
Similar Threads
why interface
Interface
Multiple inheritance
Interfaces question,
Abstract, Interfaces!
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 05:24:40.