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
How do you remove an element from an arraylist in java?
Can we assign the reference to this variable?
What are the important methods of java exception class?
How to stop a thread in java? Explain about sleep () method in a thread?
What is bufferedwriter?
Explain wrapper classes in java?
How can you read content from file in java?
Discuss different types of errors that generally occur while programming.
What is the size of string?
How do you call a reference in java?
What does a za z0 9 mean?
Is set ordered?
Why do we need array in java?
What are assembly attributes?
What is the purpose of the enableevents() method in java programming?