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

Using callable statement how can you pass out parameters, explain with example?

887


What’s a deadlock?

849


What is the main use of generics in java?

722


What are 3 data types?

752


What is string builder in java?

764


What do you mean by platform independence? What is an interface?

794


Can we create object of static class?

752


What do you understand by the bean persistent property?

773


What is the different between get and post?

732


What is a double?

825


Write a program to check for a prime number in java?

792


List some important features of java 10 release?

728


Explain about static nested classes in java?

819


What does int [] mean in java?

763


Describe what happens when an object is created in java ?

777