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 many bits are in a sentence?
How does java pattern compile work?
What does += mean coding?
Explain methods specific to list interface?
Is call by reference possible in java?
What are the two types of java?
In java, how many ways you can take input from the console?
What are locale settings?
How will you serialize a singleton class without violating singleton pattern?
What is final method?
What does @param args mean in java?
What are the types of inner classes (non-static nested class) used in java?
What is a final class ?
What is the impact of declaring a method as final?
How many days will it take to learn java?