why java is not supporting multiple inheritence?

Answers were Sorted based on User's Feedback



why java is not supporting multiple inheritence?..

Answer / ravikiran

Because we cann't extend more that one class with in a
class. But indirectly interfaces will provide the same
functionality by implementing more than one interfaces

Is This Answer Correct ?    5 Yes 1 No

why java is not supporting multiple inheritence?..

Answer / 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

why java is not supporting multiple inheritence?..

Answer / sunilkumar12317

we can't extends two class to another class

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Core Java Interview Questions

What are the ways to instantiate the class class?

0 Answers  


What is the purpose of the finally clause of a try-catch-finally statement in java programming?

0 Answers  


can anyone explain me the concept of autoboxing?

3 Answers  


Is array a class in java?

0 Answers  


Is double bigger than float?

0 Answers  






why do we use interface in java?

5 Answers  


What is an example of declaration?

0 Answers  


What is the difference between yield() and sleep()?

0 Answers  


If two threads call a static method at the same point of time, what will happen?

3 Answers   KPIT,


What is a constructor overloading in java?

0 Answers  


What does those terms actually mean included in the j.d.k i.6?

0 Answers  


What are the different types of garbage collectors in java?

0 Answers  


Categories