Why does java doesnot support multiple inheritance?
Answer Posted / balu
multiple inheritance is not available in java for the following reasons
1.it leads to confusion for a java program
2.the programmer can achieve multiple inheritance by using interfaces
3.and also we can achieve it by repeatdly using single inheritance.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Can we declare an interface as final?
Is there any sort function in java?
Is java call by reference?
How can an exception be thrown manually by a programmer?
What is the difference between inner class and nested class?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
Which collection is best for sorting in java?
What is java ceil?
What is a parameter in java?
Explain the key functions of data binding?
What is palindrome in java?
Is null a string?
Difference between notify() method and notifyall() method in java?
What is lambda in java?
What are the two basic ways in which classes that can be run as threads may be defined?