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 protected in java?
What does a void function return?
how to prepare for IT Officers Interview in Banks
Explain the transient field modifier?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
Can we pass a primitive type by reference in java? How
Can an object subclass another object?
Can you explain the cs option of java interpreter?
What is called module?
Is minecraft 1.15 out?
Is java a prime method?
Why there are some null interface in java? What does it mean?
How do you convert bytes to character in java?
What is unicode full form?
What do you mean by garbage collection used in java?