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

How do you use parseint in java?

705


What is the constructor?

799


What is the advantage of OOP in java?

876


What are advantages of exception handling in java?

786


Can constructor be inherited?

789


What is double word?

738


What is the purpose of sizeof operator?

740


What is the function of java?

726


Why is a singleton bad?

747


Which types of exceptions are caught at compile time?

768


Define jre i.e. Java runtime environment?

772


What is return in java?

735


what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent

1928


Why are the objects immutable in java?

734


What is bigger kb or mb?

790