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
Can a static block throw exception?
what is the use of bean managed and container managed with example?
What does math floor () do?
Can a class extend 2 classes in java?
What is the difference between this() and super() in java?
Is set thread safe java?
What is the difference between arraylist and hashset in java?
What do you know about the garbate collector?
What are untrusted applets?
What are the differences between the constructors and methods?
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
Is ruby built on java?
What is a blocking method in Java?
Where are register variables stored?
Can a final variable be null?