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


Please Help Members By Posting Answers For Below Questions

What is the use of arraylist in java?

534


What are the two ways to create a thread?

538


Why array is used in java?

521


What is valid keyword in java?

561


What is difference overloading and overriding?

584






What are java packages? What is the significance of packages?

575


What is the meaning of I ++ in java?

611


What checkbox method allows you to tell if a checkbox is checked?

548


How do you identify independent and dependent variables?

509


What is the difference between jfc & wfc?

601


Can a class be private or protected in java?

560


What super () does in java?

490


How do I write a self declaration?

559


What is a boolean in java?

583


What do you mean by data type?

552