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's the difference between an abstract class and interface in java?
How do you reverse a string in java without using string buffer?
we have two threads..both the threads are reading the data.. is there any need of synchronization there?...justify it?
Which Component subclass is used for drawing and painting?
What is ascii code?
What is method Overriding in the perspective of OOPS?
What is Applet Flickering ?
1 Answers Infosys, Persistent,
How is object created in java?
What is threaded programming and when is it used? : Java thread
How many types of memory areas are allocated by jvm?
How can a gui component handle its own events in java programming?
When should a function throw an exception?
0 Answers Thomson Reuters, Virtusa,