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 the types of arrays in java?

831


What is string example?

814


Is object a data type?

761


What are the methods to rectify ambiguities in the interfaces in JAVA?

838


What are the major drawbacks of external iteration?

821


Can we overload run() method in java?

873


What is the difference between post and put?

778


What are the two parts of a conditional statement?

736


Explain about oops concepts.

873


What is the difference between an if statement and a switch statement?

897


What is a file pointer?

723


You're given a Boolean 2D matrix, can you find the number of islands?

861


Is java written in c?

733


Where and how can you use a private constructor?

761


How to access arraylist elements in java?

719