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
How can you say java is object oriented?
What is constructor chaining in java?
how to write a program for sending mails between client and server
What is the best definition for data?
Which collection does not allow duplicates in java?
What is the final class modifier?
What loop means?
Explain about interthread communication and how it takes place in java?
What is the difference between java applets and applications?
Give some features of interface?
How do you remove duplicates in java?
What is a function argument in java?
What is the Scope of Static Variable?
What are the states of thread in java?
When throw keyword is used?