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
explain autoboxing in java?
What is Classloader in Java?
What does system out println () do?
How will you print number in reverse (descending) order in BST.
Does printwriter create a file?
How many bytes is double?
What are the legal operands of the instanceof operator?
What do you mean by constructor?
What are data types in programming?
What is javac in java?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
What does java se mean?
What is unmodifiable collection in java?
How many bytes are a float?
What happens if main method is not static?