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 the purpose of the system class in java?
When is an object in the mean to garbage collection?
Can an interface have a class?
Is list thread safe in java?
what is overloading in java?
13 Answers Ascent, DNS, Infosys, SDA, VelTech,
What are static blocks and static initalizers in java ?
Can you have a constructor in abstract class?
who can i handle multiple client in RMI
Difference between stack and queue?
Write a program to find the greatest of three numbers in java?
how many design pattern r there? and wht design pattern u use and why ?
Explain naming conventions for packages?