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
When is finally block not called?
What are heterogeneous objects?
What is the default access specifier for variables and methods of a class?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
Difference between Preemptive scheduling vs. Time slicing?
If try block is successfully executed, Then Is Finally block executed?
How will you print number in reverse (descending) order in BST.
Tell me about different OOPS concepts.
What is a protected class in java?
explain the difference between jdk and jvm?
Why java is secure? Explain.
What is string and example?
What is a for loop in java?
what is the difference between the methods sleep() and wait()? : Java thread
What is type inference in java8?