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 is a hashmap used for?
How is final different from finally and finalize?
Are there structures in java?
How many types of threads are there in java?
How many types of operators are there?
What is difference between char array and string?
What are the types of inner classes (non-static nested class) used in java?
What is the concatenation operator in java?
Can we declare the static variables and methods in an abstract class?
Is linked list a linear or non-linear data structure?
What is the transient keyword?
What is public/private protected in java?
why an outer class cannot be declared as private?
Why 1 is not a prime number?
Is java programming easy?