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


Please Help Members By Posting Answers For Below Questions

Is a char always 1 byte?

507


How do you use nextline in java?

502


What is the diffrence between inner class and nested class?

560


Is this valid in java ? Can we instantiate interface in java?

548


What are the two parts of a conditional statement?

514






Does java allow default arguments?

592


Does java initialize arrays to zero?

508


What is local declaration?

489


What is java life cycle?

537


What is ascii format?

548


What is the difference amongst jvm spec, jvm implementation, jvm runtime ?

506


What is the purpose of checked and unchecked exceptions in JAVA?

566


Define iterator and methods in iterator?

547


What are multiple inheritances? Is it supported by java?

463


What is unsigned char?

617