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 difference between ++ I and I ++ in java?

534


What is return data type?

563


What does system out println () do?

562


List primitive java types?

597


What is implicit object in java?

553






Is java developer a good career?

558


How do you find the absolute value?

564


What is the main function in java?

533


What is a boolean used for?

592


Will the jvm load the package twice at runtime?

574


What is array pointers ?

607


Why vector is used in java?

566


which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?

9241


Is arraylist an object in java?

603


How many ways can we create the string object?

532