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 / d.suganya

Java supports Multiple Inheritence using Interface concept
by providing common implementations , and more important to
observe is every class that we use in java is inherited by
Object class, so even though we can extend from other
classes, This clearly shows that JAVA supports Multiple
Inheritence..(Sharandesai007@gmail.com)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of isempty in java?

535


Explain the importance of import keyword in java?

522


What is a local, member and a class variable?

577


Write a java program for binary search?

605


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

513






Write code to implement bubble sort in java?

557


Explain about interthread communication and how it takes place in java?

546


What is the difference between super class & sub class?

564


What is a conditional statement explain with example?

538


Which is fastest collection in java?

561


Why we override equals() method?

563


What are generic methods?

530


what is the major difference between linkedlist and arraylist in java?

551


What is a layout manager and what are different types of layout managers available in java awt?

724


What is Applet Stub Interface ?

1963