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 is final different from finally and finalize in java?
Is a boolean 1 bit?
Can I learn java in 3 months?
How do you decide when to use arraylist and linkedlist?
What is supplier in java?
Explain the significance of class loaders in bootstrap?
What is the preferred size of a component in java programming?
What are the types of collections in java?
Can classes declared using the abstract keyword cab be instantiated?
Is void a type?
Is vector ordered in java?
Can we synchronize static methods in java?
Why runnable interface is used in java?
What are the main uses of java?
What are bind parameters?