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 garbage collector?
What does s mean in regex?
How many arguments can be passed to main ()?
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
Is vector synchronized in java?
What is the method in java?
How to convert a string to long?
Is 0 true or is 1 true?
Can a set contain duplicates?
how many design pattern r there? and wht design pattern u use and why ?
Lowest Common ancestor in a Binary Search Tree and Binary Tree.
How java is similar to c?