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 are multiple inheritances?

875


What is a default constraint?

847


Which of the following is not an isolation level in the JDBC

1913


What do you mean by default constructor in java?

833


What is a condition in programming?

778


What is string args [] in java?

799


What is the default value of the local variables?

743


What are inbuilt functions?

770


What is a bufferedreader?

777


What is pangram in java?

791


Does list allow duplicates in java?

718


Explain how hashmap works?

832


What is a variable simple definition?

823


whatis Home interface and Remoteinterface? with example?

1785


Why scanner is used in java?

812