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 the use of arraylist in java?
What are the two ways to create a thread?
Why array is used in java?
What is valid keyword in java?
What is difference overloading and overriding?
What are java packages? What is the significance of packages?
What is the meaning of I ++ in java?
What checkbox method allows you to tell if a checkbox is checked?
How do you identify independent and dependent variables?
What is the difference between jfc & wfc?
Can a class be private or protected in java?
What super () does in java?
How do I write a self declaration?
What is a boolean in java?
What do you mean by data type?