why java does not support multiple inheritance
Answer Posted / kishore
Java absolutly support multiple inheritence in terms of
Interface.We can extend one class only to avoid ambiguity
problem.In interface we have to define the functions.So we
don't get any ambiguity.In c++ it is big problem with
multiple inheritence but in JAVA this thing is improved by
introducing Interfaces
| Is This Answer Correct ? | 304 Yes | 88 No |
Post New Answer View All Answers
What are the elements of java?
what is inner class in java?
Write a program to print fibonacci series up to count 10.
What are the disadvantages of object oriented programming?
What is difference between overloading and overriding in java?
What is basic syntax?
Explain the difference between protected and default access.
What is the dot operator?
Can we have try block without catch block?
What is the difference between integer parseint and integer valueof?
What is the formula to calculate percentage?
What will happen if a thrown exception is not handled?
Is java code slower than native code?
How many ways can we create singleton class?
What are the disadvantages of using inner classes?