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 difference between JDK and JVM?
Why are the objects immutable in java?
How can we create a synchronized collection from given collection?
what is the use of private constructor in core java?
3 Answers OnMobile, Satyam, Yash Technologies,
If a class is declared without any access modifiers, where may the class be accessed in java programming?
What is internal iteration in java se 8?
Suppose there is an array list [10,5,20,19,15,24].Print them in ascending & descending order in collection framework concept ???
Do I need java on my pc?
what is meant by Byte code concept in Java?
Can constructor be synchronized?
What is the range of the char type?
What does int argc char * argv [] mean?