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 is t type java?
Explain serialization and deserialization in java?
Can set contain duplicates?
What is string buffer?
What is a stack class in java ?
What causes memory leaks in java?
What is nested loop? What is dangling else condition in it?
What is bufferedwriter?
Can we have this () and super () together?
What is the use of http-tunneling in rmi?
What is the original name of java?
Is java still relevant?
Which of the following classes will have more memory allocated?
What are the four pillars of java?
How do you do absolute value in java?