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 the features of junit?
What is the difference between public, private, protected, and friend access?
How can you handle java exceptions?
What is anti pattern in cyber security?
What is data type example?
Can we convert integer to string in java?
What is the intersection and union methods?
What do you mean by platform independence?
What is a jit compiler?
Name few java 8 annotations ?
When should I use stringbuffer?
What is a stringbuilder?
Explain the difference between collection api and stream api in java8?
What is the indent key?
How big is a 64 bit float?