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 / bindu
i think one class defaultly have the features of Object
class bcoz it is parent to all classes.
so v r not directly extends the Object class.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is protected in java?
Explain the significance of listiterator.
Is there any way to skip finally block of exception even if some exception occurs in the exception block?
What is constructor chaining in java?
Can we print null in java?
What is Java Annotations?
What do you mean by stream pipelining in java 8?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
Is list thread safe in java?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
What is meant by inheritance and what are its advantages?
What is the difference between assignment and initialization?
What is string syntax?
What is the difference between Array and Hash Table?
How do I type unicode?