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
What is an array length?
What is the different between get and post?
What is a default constructor and also define copy contrucyor?
Can we make constructors static?
How to Sort Strings which are given in List and display in ascending order without using java api.
What are the differences between this and super keyword?
How a variable is stored in memory?
Explain the use of javap tool.
What does bitwise or mean?
Where will it be used?
You're given a Boolean 2D matrix, can you find the number of islands?
explain the concept of virtual method invocation in polymorphism in detail?
What is subsequence of a string?
What is identifier give example?
What is get () in java?