adspace
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 difference between equals() and == in java?
What are the differences between heap and stack memory in java?
What is the difference between break and continue statements?
What is a classloader in java?
Realized?
Write a program to find the whether a number is an Armstrong number or not?
What is an object in java and how is it created?
What is java string pool?
Write a program to print count of empty strings in java 8?
What is parsing in java?
How to create a base64 decoder in java8?
Explain public static void main(string args[]) in java.
Is minecraft 1.15 out?
Differentiate between static and non-static methods in java.
How to sort array in descending order in java?