how can be object class inherited to all class in a program
when java does not support multiple inheritance??
Answers were Sorted based on User's Feedback
Answer / ashok yadav
A class always extends only one class. That is the Object
class or the class defined with the extends keyword. That
class in turn can extend also only one class until eventual
the Object class is reached.
| Is This Answer Correct ? | 4 Yes | 0 No |
Actuly in above it is the case of multilevel inheritance.and obj clas is super class which is extended by other classes tht is tree structure i.e 1 - * form . Multiple inheritance is wher 1 class is having 2 or more base class at same time ie *-1. So it is not multiple it is hiricle inheritnce.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is the JNDI?
Can we define package statement after import statement in java?
system.out.println(1 + 3);
what is the difference between java and j2ee... is that can i work j2ee on net beans IDE 6.0
What happens when heap memory is full?
Can we override constructor in java?
What does @override mean?
What is compiler and what its output.
Where are the local variables stored?
Is empty in java?
How to declare unique ArrayList ?
What is the benefit of inner / nested classes ?