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

What is Java Shutdown Hook?

1 Answers  


What methodology can be utilized to link to a database?

1 Answers  


what is difference between set and list in collection?

3 Answers   Satyam,


1).what is the difference between below examples String s="vijay"; String s=new String("vijay");

12 Answers   Mascon, Satyam, TCS,


What are the advantages of assembly language?

1 Answers  


What is hashtable and explain features of hashtable?

1 Answers  


Can Anybody tell the diff b/w jdk1.6 and latest version.

2 Answers  


Briefly explain the term Spring Framework

1 Answers  


What is subsequence of a string?

1 Answers  


Can you start a thread twice in Java?

1 Answers  


What one should take care of, while serializing the object?

1 Answers  


Why is the main method static?

1 Answers  


Categories