why java is not supporting multiple inheritence?

Answers were Sorted based on User's Feedback



why java is not supporting multiple inheritence?..

Answer / ravikiran

Because we cann't extend more that one class with in a
class. But indirectly interfaces will provide the same
functionality by implementing more than one interfaces

Is This Answer Correct ?    5 Yes 1 No

why java is not supporting multiple inheritence?..

Answer / mani.d [wipro]

Java doesn't support mutiple inheritance because
of 'Diamond problem'. The 'diamond problem' is an ambiguity
that can occur when a class multiple intehertis from two
classes that both descend from a common superclass.

Is This Answer Correct ?    4 Yes 1 No

why java is not supporting multiple inheritence?..

Answer / sunilkumar12317

we can't extends two class to another class

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Core Java Interview Questions

how can u apply shallow cloning and deep cloning to create object?

1 Answers   Yash Technologies,


For technical interview question please sir send me because tomorrow my interview

1 Answers   FactSet Systems,


What are the different types of inheritance in java?

0 Answers  


What are the fileinputstream and fileoutputstream?

0 Answers  


What is the difference between preemptive scheduling and time slicing?

0 Answers  






How to make a method thread safe without using synchronized keyword?

8 Answers   Persistent, Societe Generale,


Suppose there is an array list [10,5,20,19,15,24].Print them in ascending & descending order in collection framework concept ???

2 Answers   Cognizant,


What is heterogeneous in java?

0 Answers  


What is a package?

2 Answers  


Explain method overloading?

0 Answers  


How will you communicate between two applets?

0 Answers  


Can java hashmap have duplicate keys?

0 Answers  


Categories