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


Please Help Members By Posting Answers For Below Questions

What does you mean in math?

539


What is package protected in java?

530


What is use of inner class in java?

518


What is the dot operator?

575


why would you use a synchronized block vs. Synchronized method? : Java thread

539






Why main method is static in java?

600


Can we declare array without size in java?

556


What does the “static” keyword mean?

586


what is singleton in java?

604


Does java runtime require a license?

580


What do you mean by access modifier?

561


What is character in data type?

553


Can we catch more than one exception in single catch block?

605


What is passing value java?

514


What does java ide mean?

647