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 steps are taken when the OS shifts from one-thread execution to another?
What is a protected class in java?
Can you access the private method from outside the class?
What are internal variables?
What happens when you add a double value to a string?
Are floats faster than doubles?
what are abstract functions?
Why do we create threads in java?
Does java allow overriding static methods ?
What is local class in java?
What is the access scope of protected access specifier?
What are the differences between wait() and sleep()?
What is http client in java?
How do you calculate square roots?
What is navigable map in java?