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 / aruna raman
Yes-Java does not support multiple inheritence but supports
Multi level inheritence.
A class can extends only one class(which also extends from
object class), So this a multi level inheritance not
multiple inheritence.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of abstract class?
What is complexity in java?
What is constant in programming?
What is the benefit of inner / nested classes ?
How to overcome the exception object reference not set to an instance of object?
What are the main uses of java?
Tell me the Importent classes in net package?
What is local class in java?
Explain about varargs in java?
What is downcasting?
what do you understand by the term string with respect to java?
In the below example, how many string objects are created?
How is a structure different from array ?
Which software is used for java programming?
What is numel matlab?