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 are inbuilt functions in java?
Where will it be used?
Explain implementation and how is it different from conversion?
Can we use String with switch case?
What is meant by class and object in java?
Java Compiler is stored in JDK, JRE or JVM?
What are the types of inner classes (non-static nested class) used in java?
What are java threads?
Is array size fixed in java?
What is the protected method modifier?
What is arraylist e in java?
Can we overload the constructors?
Difference between method overloading and method overriding in java ?
What is difference between hashset and hashmap?
How do you declare a variable?