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 an array length?

490


What is the different between get and post?

496


What is a default constructor and also define copy contrucyor?

591


Can we make constructors static?

713


How to Sort Strings which are given in List and display in ascending order without using java api.

3748






What are the differences between this and super keyword?

521


How a variable is stored in memory?

493


Explain the use of javap tool.

623


What does bitwise or mean?

560


Where will it be used?

1499


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

589


explain the concept of virtual method invocation in polymorphism in detail?

1706


What is subsequence of a string?

594


What is identifier give example?

545


What is get () in java?

556