how can be object class inherited to all class in a program
when java does not support multiple inheritance??
Answer Posted / 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 |
Post New Answer View All Answers
Explain the difference between a Thread and a Process.
What is java util collection?
What causes memory leaks in java?
How do you compare objects in java?
Explain what pure virtual function is?
Why is a string immutable?
What about method local inner classes or local inner classes in java?
Can we create object of inner class in java?
what is difference between equals and ==?
What do you mean by constructor?
Why is java architectural neutral?
What is a nested list?
How do I type unicode?
Is object a data type?
Can a class extend more than one class?