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

Is java a compiler?

756


What is class??

993


Can we sort a map in java?

761


What is the core java?

721


What is meant by interface?

786


What do you mean by aggregation?

820


Differentiate between static and non-static methods in java.

800


What is the collections api?

778


What is difference between jdk,jre and jvm?

798


when should you use stringbuilder class in a program?

742


What are voids?

735


How do you sort arrays in java?

706


what is synchronization and why is it important? : Java thread

843


When can you say a graph to be a tree?

841


What is the function of java?

738