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 / kartik naidhruva

Its foolish to say a class extends more than one class...
Who told u that!!!!
inorder to implement multiple inheritance in java we use
INTERFACES....
with the help of interfaces we can Partially implement
Multiple inheritance

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the order of arraylist in java?

829


What is the purpose of a parameter?

787


Is array primitive data type in java?

759


How many inner classes can a class have?

814


Why are the destructors for base class and derived class called in reverse order when the program exits

1945


what is daemon thread and which method is used to create the daemon thread? : Java thread

744


Can a constructor have different name than a class name in java?

837


What is loop in java?

763


Can string be considered as a keyword?

801


Is an integer an object?

721


Which is faster string or stringbuilder?

713


How do you use compareto in java?

750


What is difference between == equals () and compareto () method?

747


Write a function to print Fibonacci series and Tribonacci series?

966


Write a program in java to establish a connection between client and server?

726