why java is not supporting multiple inheritence?

Answer Posted / mani.d [wipro]

Java doesn't support mutiple inheritance because
of 'Diamond problem'. The 'diamond problem' is an ambiguity
that can occur when a class multiple intehertis from two
classes that both descend from a common superclass.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the importance of main method in Java?

575


What are the main uses of this keyword?

601


How is Object Oriented Programming different from Procedure Oriented Programming?

595


Explain about doubly linked list

621


How many types of array are there?

550






How does list work in java?

511


What is the most important feature of java? What is an interface?

524


What if I write static public void instead of public static void in java?

580


What is fail first in java?

571


What is a substitution variable?

567


Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

1607


Is java 1.7 the same as java 7?

537


Why java is secure? Explain.

598


What are namespaces in java?

527


How will you add panel to a frame?

649