why java does not support multiple inheritance
Answer Posted / rajiv
java does not support multiple inheritance because it does
not meet object oriented specification. Due to ambiguity
problem will arise if two or more superclass have the same
method name, and the super keyword will not be able to
decide which superclass to call. so we use interface to
solve this problem.
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What is anagram in java?
Explain about abstract classes in java?
Explain the importance of join() method in thread class?
Difference between start() and run() method of thread class?
What is public static void main?
What is mean by encoding?
Which class is used by server applications to obtain a port and listen for client requests?
why we use merge option in hybernate pls give a ex snippet
What is the list interface in java programming?
Can we have try without catch block?
What is a generic code?
What is bom encoding?
What do you mean by a JVM?
What is difference between java and java ee?
What do you mean by Hash Map and Hash Table?