why is multiple inheritance not allowed in java?

Answer Posted / mahesh yadav ch

when ever a class extending more then one class. if f1()
method is present all exteding ... when we call f1()
method...jvm will confused which class method is called this
lead to ambuity error.....
java does'nt support multiple inheritance.......

Is This Answer Correct ?    19 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stream api in java8?

536


Is null keyword in java?

523


What is difference between static and final?

559


What is difference between c++ and java ?

669


What are recursive functions? Give some examples?

612






What do you mean by stream pipelining in java 8?

736


What are the differences between this and super keyword?

532


Which method returns the length of a string?

564


What is multiple inheritance? Is it supported by java?

528


Which non-unicode letter characters may be used as the first character of an identifier?

593


What does system out println () do?

557


Why hashcode is used in java?

497


Can we use a switch statement with strings?

549


What is java and why do we need it? Explain

581


What is type parameter in java?

519