why java is not supporting multiple inheritence?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / sunilkumar12317
we can't extends two class to another class
| Is This Answer Correct ? | 2 Yes | 1 No |
What is Java Shutdown Hook?
What methodology can be utilized to link to a database?
what is difference between set and list in collection?
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?
What is hashtable and explain features of hashtable?
Can Anybody tell the diff b/w jdk1.6 and latest version.
Briefly explain the term Spring Framework
What is subsequence of a string?
Can you start a thread twice in Java?
What one should take care of, while serializing the object?
Why is the main method static?