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 does you mean in math?
What is package protected in java?
What is use of inner class in java?
What is the dot operator?
why would you use a synchronized block vs. Synchronized method? : Java thread
Why main method is static in java?
Can we declare array without size in java?
What does the “static” keyword mean?
what is singleton in java?
Does java runtime require a license?
What do you mean by access modifier?
What is character in data type?
Can we catch more than one exception in single catch block?
What is passing value java?
What does java ide mean?