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 inner class in java?
What is the use of System class?
How to find the size of an array a)array.length() b)array.length c)array.size() d)array.size
How thread scheduler schedule the task?
What are the drawbacks for singleton class?
What does %4d mean in java?
How to call static method?
What is sizeof in java?
Can keyword be used as identifier?
What is the difference between a public and a non-public class?
Do you know how to reverse string in java?
What is the difference between a local variable and an instance variable?