what is the purpose of class "Object" which is base class
for all classes?
Answer Posted / vikki
The Object class sits at the top of the class hierarchy
tree in the Java development environment. Every class in
the Java system is a descendent (direct or indirect) of the
Object class. The Object class defines the basic state and
behavior that all objects must have, such as the ability to
compare oneself to another object, to convert to a string,
to wait on a condition variable, to notify other objects
that a condition variable has changed, and to return the
object's class.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
Define an applet in java?
What is the disadvantage of synchronization?
What is reflexive association?
What is the diffrence between inner class and nested class?
Difference between start() and run() method of thread class?
What is java lang string?
What do you mean by checked exceptions?
Can we split string with in java?
What are keywords in java?
What are the advantages and disadvantages of object cloning?
What is an escape character in java?
What is meant by distributed application? Why are we using that in our application?
What are the differences between throw and throws?
Does java runtime require a license?
What are the different ways of implementing thread? Which one is more advantageous?