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 does localhost mean?

702


Can we convert integer to string in java?

822


What does next mean in java?

743


Which is better list or arraylist in java?

657


How objects of a class are created if no constructor is defined in the class?

801


What is unmodifiable list in java?

725


How transient variable is different from volatile variable?

770


Can you call one constructor from another if a class has multiple constructors?

795


Explain java coding standards for interfaces?

854


Can we override the overloaded method?

802


Can a string be null?

738


What is the access scope of a protected method?

750


Is void a keyword in java?

796


What is numeric function?

726


How many types of exception can occur in a java program?

716