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
Is a char always 1 byte?
How do you use nextline in java?
What is the diffrence between inner class and nested class?
Is this valid in java ? Can we instantiate interface in java?
What are the two parts of a conditional statement?
Does java allow default arguments?
Does java initialize arrays to zero?
What is local declaration?
What is java life cycle?
What is ascii format?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
What is the purpose of checked and unchecked exceptions in JAVA?
Define iterator and methods in iterator?
What are multiple inheritances? Is it supported by java?
What is unsigned char?