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 does int argc char * argv [] mean?
What about member inner classes?
how to create daemon thread in java?
How does static modifier work?
Similarity and difference between static block and static method ?
What do you mean by jjs in java8?
What are the three best choices for a development environment?
There can be a abstract class without abstract methods, but what is the need to declare a class abstract if it doesn't contain abstract methods?
Can you pass functions in java?
What do you understand by looping in java? Explain the different types of loops.
How the elements are organized in GridBagLayout?
What is used of static keyword in java?