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


Please Help Members By Posting Answers For Below Questions

What is adapter in java?

600


What is collections framework?

687


What is static and final keyword in java?

660


What is the requirement of thread in java?

710


What is data type in computer?

600






What are mutable classes?

596


What is factor r?

616


How long will it take to learn java?

598


What is object of class in java?

693


What is a Null object?

1013


How can you set the applet size?

688


Is null a string in java?

642


What are the benefits of immutable objects?

627


how to create constants in java?

694


Describe how to implement singleton design pattern in struts.

618