Is multiple inheritance allowed in Java? Why ?

Answer Posted / karthik

"Can some one explain about this case.

-> A is a super class and B extends from A.
-> java.lang.Object is super class for all classes.

now in this case B extends from A and B extend from java.lang.Object(because is default super class) then it is multiple inheritence right? "

Mr Suresh Aelidhe,

If a class extends any other class then it wont extends Object class

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a method vs function?

542


explain copyonwritearraylist and when do we use copyonwritearraylist?

528


What is the symbol for average?

506


Explain the selection sort algorithm?

632


List the interfaces which extends collection interface?

525






How does the garbage collector works in java?

558


What are the types of relation?

557


How do you identify independent and dependent variables?

496


How does singleton class work?

520


How do you avoid global variables?

531


What do you mean by jjs in java8?

545


Explain jdk, jre and jvm?

556


Is null or empty java?

519


Explain about join() method?

533


Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification

1360