why is multiple inheritance not allowed in java?
Answer Posted / ganesh
When the multiple inheritance is allowed, means when a language allows the class to extend multiple classes, That leads to the ambiguity as to which class method to consider, when two of its parents have the same method signature. This is called Diamond ring problem
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What are the java ide’s?
How do you end a program?
What is ternary operator?
How many static init can you have?
Is string a wrapper class?
What is the difference between static and non-static variables in java programming?
What Is Composition?
How do you use nextline in java?
Explain, java is compatible with all servers but not all browsers?
What is jit compiler ?
Which is the best approach for creating thread ?
Which sorting algorithm is best in java?
How many digits can a float hold?
Explain all java features with real time examples
What is a numeric literal?