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 treeset in java?
What is meant by object oriented programming – oop?
Do I need java on my computer?
What are the differences between string, stringbuffer and stringbuilder?
What is anagram in java?
Can a static class have a constructor?
Name some classes present in java.util.regex package.
What is the primitive type byte?
Can we call the run() method instead of start()?
Write a program in java to create a doubly linked list containing n nodes.
What is set and get methods in java?
What are the main concepts of oops in java?
What is sizeof () operator?
Explain list interface?
Explain the available thread states in a high-level?