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 is the difference between JDK and JVM?

0 Answers  


What advantage do java's layout managers provide over traditional windowing systems?

0 Answers  


what is wrapper class and its uses?

2 Answers  


Why do we need data structure in java?

0 Answers  


What are the advantages of user defined functions?

0 Answers  


Explain a situation where finally block will not be executed?

0 Answers  


Why Wait and notify are kept in Object class although they are used only with Thread Class

2 Answers   Global Logic, Saksoft,


Is space a char?

0 Answers  


what is an anonymous class?

6 Answers   TCS,


What does  mean in regex?

0 Answers  


What are the different ways to handle exceptions?

0 Answers  


What is your platform’s default character encoding?

0 Answers  


Categories