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
Java.util.regex consists of which classes?
Explain the importance of throws keyword in java?
Name few "optional" classes introduced with java 8 ?
How to create a thread in java?
Explain the difference between transient and volatile in java?
How to convert string to char and vice versa?
How to implement an arraylist in java?
What the difference is between execute, execute Query, execute Update?
What is the static block?
explain different ways of using thread? : Java thread
Is empty string in java?
Is arraylist an object in java?
Is heap stored in ram?
What does opcode mean?
What is Applet Stub Interface ?