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 / sharandesai
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 ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is final keyword in java?
What’s a deadlock?
Can a method be static?
What access modifiers can be used for class ?
Why java is platform independent? Explain.
Which is easier netbeans or eclipse?
Describe 2 different ways to concatenate two strings.
Can you run java program without main method?
What is a top level class in java?
What is java used for?
What is user defined exception in Java?
What is the full name of java?
What are three ways in which a thread can enter the waiting state in java programming?
What is the difference between iterator and enumeration ?
When do you call copy constructor?