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 is udp in java?
Can we create our own wrapper class in java?
What is the symbol for space?
Can we change the value of static variable?
What is the do while loop syntax?
What is a method header?
What are the high-level thread states in java programming?
What is stream api in java8?
What is method in research paper?
How thread scheduler schedule the task?
What is the applet security manager, and what does it provide?
Can private class be extended java?
What is a method vs function?
how to create daemon thread in java?
What is == and === in javascript?