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 the difference between a vector & an array list?

677


How do you convert bytes to character in java?

539


When do we need to use internal iteration? When do we need to use external iteration?

613


What are the features of java?

535


Why is java multithreaded?

542






How to create a base64 decoder in java8?

560


Explain the differences between static and dynamic variables?

591


What are different types of control structures?

495


What is a pattern what is an anti pattern?

512


What is Classloader in Java?

640


Add a value x to array from index l to r where 0 <= l <= r <= n-1

633


What are recursive functions? Give some examples?

621


What are accessor methods in java?

559


Can an integer be a string?

515


Is heap stored in ram?

531