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 passing value java?
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
What does void * mean?
Explain method local inner classes ?
What is local variable and instance variable?
how to create multithreaded program? : Java thread
What is fail first in java?
What is native method in java?
What is the maximum size of arraylist in java?
What is the full name of java?
How do you create a sop?
What is bitwise complement?
What is array and arraylist in java?
How a string is stored in memory?
What is stream api in java8?