why java does not support multiple inheritance
Answer Posted / umesh bhargava
Java follows single-inhertitance model that is a subclass
can only aquire the properties from a single super class.
The reason is some conflicting issues with multiple classes.
But java do support multiple interface inheritance that is
a sub class can implement more than one interfaces. It can
alternatively used in place of multiple inheritance...but
remember it is multiple interface inheritance.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are reference variables in java?
Are registers volatile?
What is double parsedouble in java?
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
What does || || mean in math?
How are java objects passed to a method and what are native methods?
How do you add spaces in java?
What is tcp and udp?
How will you communicate between two applets?
What is sorting in java?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
What is the java idl system?
How to disable caching on back button of the browser?
What is prime number in java?