all are saying java doesn't support multiple inheritance but
by default Object class is super class for all the user
defined classes and we can extend atmost one class so each
class can extend more than one class so java supports
multiple inheritance?i am confused with this,pls any one
explain me.
Answer Posted / aruna raman
Yes-Java does not support multiple inheritence but supports
Multi level inheritence.
A class can extends only one class(which also extends from
object class), So this a multi level inheritance not
multiple inheritence.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
List out five keywords related to exception handling ?
Explain the difference between abstract classes and interfaces in java?
Can we have a try block without catch block?
what are abstract functions?
What is singleton math?
When is the finally clause of a try-catch-finally statement executed?
What is the final method?
What is printwriter in java?
Why do we need autoboxing in java?
why Java does not support multiple inheritances?
What is wrapper class html?
What programs use java?
How does callback work in java?
Define interface in java?
What is the static import?