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

Explain about anonymous inner classes in java?

817


What is the final variable?

959


Which method returns the length of a string?

809


What are the advantages of assembly language?

713


What are different ways of object creation in java ?

804


What are the advantages of passing this into a method instead of the current class object itself?

1433


What are the ways to instantiate the class class?

826


What is a native method in java programming?

789


Write a function to find out longest palindrome in a given string?

837


What is vector?

789


How is Object Oriented Programming different from Procedure Oriented Programming?

837


Can I declare a class as private?

847


What is called module?

778


How do you use substring in java?

800


Can a method be static?

754