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
What is the order of arraylist in java?
What is the purpose of a parameter?
Is array primitive data type in java?
How many inner classes can a class have?
Why are the destructors for base class and derived class called in reverse order when the program exits
what is daemon thread and which method is used to create the daemon thread? : Java thread
Can a constructor have different name than a class name in java?
What is loop in java?
Can string be considered as a keyword?
Is an integer an object?
Which is faster string or stringbuilder?
How do you use compareto in java?
What is difference between == equals () and compareto () method?
Write a function to print Fibonacci series and Tribonacci series?
Write a program in java to establish a connection between client and server?