Why java does not support multiple inheritance.why we go for interfaces

Showing Answers 1 - 3 of 3 Answers

GANESH PUNDE

  • Oct 20th, 2005
 

Because the multiple inheritance causes the redundancy coz the size of the childs increases Suppose node derived from the multiple node causes the same method will be inherited in the that node so avoid redundancy....

       In interfaces we just have signature of the method and the final variables and from this interface we can implements partial,full interface.that it....

  Was this answer useful?  Yes

paresh mishra

  • Nov 9th, 2005
 

Diamond problem cant be solved through multiple inheritance thats why java does not support multiple inheritance

  Was this answer useful?  Yes

Niraj

  • Nov 19th, 2005
 

Can I know why it is so

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions