why java does not support multiple inheritance
Answer Posted / mustakim
because it genereate diamond problem. e.g. Class A has
Show()Method and Class B,C extends in A class so show() will
come in B,C class.now Class D extends C class and access
show() method then it will generate Error such as multiple
Defination.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the difference between hashmap and hashtable in java?
What is meant by main method?
What is an example of declaration?
Explain the pointers in Java?
Why is it called a string?
What is a concrete classes? Is Java object class is concrete class?
What is autoboxing in java?
What is java ceil?
What do you understand by java?
How do listeners work?
What is api data?
How does multithreading take place on a computer with a single cpu?
How many bits is a double?
what is the difference between future and callable interface in java?
How can we make copy of a java object?