why java does not support mulitple inheritance directly?
Answer Posted / sumit pal singh
java Doesn't Support multiple inheritance.when two super classes have same variable name and same method name .then subclass confused from which class variable and method will be executed.due to this ambiguity is produced and java is a simple programming language not produce any confusion to developer.so multiple inheritance is restricted in java.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is pre increment and post increment in java?
Are static members inherited to sub classes?
What are keywords and reserved words in java?
How will you add panel to a frame?
What is floor in java?
Write a program to find the whether a number is an Armstrong number or not?
Differences between external iteration and internal iteration?
What is the difference between menuitem and checkboxmenu item?
What exactly is java?
What are the new features in java 8? Explain
Explain wrapper classes in java?
What are the skills required for core java?
What does localhost mean?
What is difference between string and stringbuffer?
Can we sort set in java?