why java does not support multiple inheritance
Answer Posted / devesh dashora
Basically multiple inheritance is useful only in
polymorphism, so in java it can be done by interfaces, so
that java doesn't need to provide multiple inheritance
using extends keyword.
| Is This Answer Correct ? | 22 Yes | 34 No |
Post New Answer View All Answers
What is a stringbuilder?
Difference between arraylist and hashset in java?
What is the structure of java?
What is java abstraction with example?
Can we execute java program without main method?
define the terminology association.
What is int lol?
Can we define private and protected modifiers for variables in interfaces?
What is files manifesting?
Why do I need to declare the type of a variable in java?
Why are there no global variables in java?
Why doesn't the java library use a randomized version of quicksort?
What is the use of object and class classes?
Why enumeration is faster than iterator?
Is set ordered?