why java does not support multiple inheritance
Answer Posted / krishna.tadi
multiple inheritance:
def:
The process of deriving a subclass from morethen 2 classes
java doesnot support multiple inheritance through the use of the class
Because the same method()names in the more than one class this introduces the ambiguity problem
So to avoid this in java interfaces are introduced in interface we have only method declarations and we have to implement that method not override
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain access modifiers in java.
What are disadvantages of java?
What is run time allocation?
What is the purpose of using javap?
What is the use of accept () method in java?
What are the four pillars of java?
Does java support function overloading, pointers, structures, unions or linked lists?
Can final class have constructor?
What is string value?
Write a program to print count of empty strings in java 8?
What is difference between jdk,jre and jvm?
What variables are stored in stack?
What is string pool?
What is the function of static in java?
Write the algorithm to check the number non-leaf nodes in a tree.