Why do we need object class?

1) 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.

Sizin İçin Seçtik  What is a Java object definition?

Leave a Reply

Your email address will not be published. Required fields are marked *