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 / d.suganya
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 ? | 0 Yes | 1 No |
Post New Answer View All Answers
How concurrent hashmap works?
Is singleton a bad practice?
What are synchronized methods and synchronized statements in java programming?
What is the use of singleton?
Can a constructor be made final?
What are the different types of inheritance in java?
What is boolean used for?
What is thread safe singleton?
What is the difference between overriding & overloading?
Why parameters should be passed by reference?
Define how can we find the actual size of an object on the heap?
What is immutable class in java?
What is the main purpose of serialization in java?
What is the map interface in java programming?
What steps are taken when the OS shifts from one-thread execution to another?