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

What is the use of keywords in java?

545


What function extracts specified characters from a string?

556


What do you mean by platform independence of Java?

527


How many types of java are there?

545


Can a method be overloaded based on different return type but same argument type?

539






What are java methods?

564


Write a program in java to create a doubly linked list containing n nodes.

549


What is an empirical question?

533


What are peerless components?

611


What are the different types of garbage collectors in java?

540


What is bifunction in java?

664


Do I need java on my pc?

499


Is intellij better than eclipse?

531


What is difference between variable declaration and definition?

505


What are 3 data types?

536