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
What is object cloning in Java?
How many types of operators are there?
Difference between predicate, supplier and consumer ?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
What are the concepts of 'OOPS'?
What is the purpose of return statement?
What do you mean by order of precedence and associativity?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
How many bytes is a string java?
What are the common uses of "this" keyword in java ?
What is collection sort in java?
Can we modify the throws clause of the superclass method while overriding it in the subclass?
Which containers use a flowlayout as their default layout in java programming?
What is the purpose of the finally clause of a try-catch-finally statement in java programming?
What is volatile keyword in java