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
Is an integer an object?
How do you add an element to a set in java?
What are different data types?
Why is method overloading not possible by changing the return type in java?
Explain public static void main(string args[]) in java.
What is the generic function?
What methods are used to get and set the text label displayed by a button object?
Does java trim remove newline?
What are the different types of methodologies?
How to instantiate static nested classes in java?
What does jenkins do?
Write a code to create a trigger to call a stored procedure
Where import statement is used in a java program?
Can a class declared as private be accessed outside it’s package?
How many times finalize method will be invoked? Who invokes finalize() method in java?