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
What is the use of isempty in java?
Explain the importance of import keyword in java?
What is a local, member and a class variable?
Write a java program for binary search?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
Write code to implement bubble sort in java?
Explain about interthread communication and how it takes place in java?
What is the difference between super class & sub class?
What is a conditional statement explain with example?
Which is fastest collection in java?
Why we override equals() method?
What are generic methods?
what is the major difference between linkedlist and arraylist in java?
What is a layout manager and what are different types of layout managers available in java awt?
What is Applet Stub Interface ?