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
Write code to implement bubble sort in java?
What is get () in java?
Why is stringbuffer called mutable?
How can I debug the Java security exceptions and AccessControlExceptions?
What is arraylist class in java?
How is hashcode calculated in java?
How are this() and super() used with constructors in java programming?
What is sortedset in java?
How does arraylist size increase in java?
What is multithreading and its advantages?
Does chrome use java?
Explain the inheritance?
What is the integer of 16?
Explain jvm, jre, and jdk?
What does bitwise or mean?