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
Explain the concept of proper inheritance?
What is the mapping mechanism used by java to identify IDL language?
When does a class need a virtual destructor?
In the below example, what will be the output?
What are multiple inheritances? Is it supported by java?
How to reverse string in java?
How do you remove duplicates in java?
What is subsequence of a string?
What is the purpose of assert keyword used in jdk1.4.x?
How do you sort a string in java?
Should database connections be singleton?
What if constructor is protected in java?
Can private class be inherited in java?
Explain the difference between a Thread and a Process.
Can we inherit inner class?