why java is not supporting multiple inheritence?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / sunilkumar12317
we can't extends two class to another class
Is This Answer Correct ? | 2 Yes | 1 No |
What is the difference between JDK and JVM?
What advantage do java's layout managers provide over traditional windowing systems?
what is wrapper class and its uses?
Why do we need data structure in java?
What are the advantages of user defined functions?
Explain a situation where finally block will not be executed?
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?
what is an anonymous class?
What does mean in regex?
What are the different ways to handle exceptions?
What is your platform’s default character encoding?