why java not supproting multiple inheritance?

Answer Posted / venkatachalapathy

Java doesn’t provide multiple inheritance (MI), at least
not in the same sense that C++ does. Like
protected, MI seems like a good idea but you know you need
it only when you are face to face with a
certain design problem. Since Java uses a singly-rooted
hierarchy, you’ll probably run into fewer situations in
which MI is necessary. The interface keyword takes care of
combining multiple interfaces.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does hashset works in java?

777


What are different access specifiers in java? Explain

850


What is java dot?

718


How do you test a method for an exception using junit?

838


What is compiler and what its output.

909


How do you convert int to char in java?

839


Can I use % with real numbers?

773


What do you understand by the term wrapper classes?

773


What is role of void keyword in declaring functions?

822


Which is the best sorting technique in java?

767


How will you load a specific locale?

759


What is the symbol for average?

731


How do you write a conditional statement?

722


What is the purpose of the finalize() method?

957


How do you start a thread?

782