why java does not support multiple inheritance
Answer Posted / neeraj kumar singh
in multiple inheritance there are a number of base class so
when ever we use super keyword to call any method then
compiler do not recognize the base class form which property
and method have to use.since there is only one way to call
base class method and property which is super keyword. so
because of super keyword, java do not support multiple
inheritance but it is possible with help of interface.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is number data type?
What is immutability in java?
What purpose do the keywords final, finally, and finalize fulfill?
what is the use of bean managed and container managed with example?
What is the purpose of sizeof operator?
What is set and get methods in java?
What is array length?
What are the basic interfaces of java collections framework?
Is singleton class immutable?
Explain methods specific to list interface?
Can we assign the reference to this variable?
Why pointers are not used in java?
How do you add an element to a set in java?
How to change value in arraylist java?
What class allows you to read objects directly from a stream?