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
What is class forname?
What are the steps in the jdbc connection?
How do you write a scanner class in java?
What is difference between protected and private?
What are java packages?
Is string pool garbage collected?
Is array a class in java?
What is a singleton class? Give a practical example of its usage.
What’s a deadlock?
what are the disadvantages of indexes in oracle?
What is static import?
Are there structures in java?
What is an argument java?
What is a final class ?
Is singleton class immutable?