1.

What Are The Methods Of Object Class ?

Answer»
  • clone() - Creates and returns a copy of this object.
  • equals() - Indicates whether some other object is "equal to" this one.
  • finalize() - Called by the garbage collector on an object when garbage collection determines that there are no more REFERENCES to the object
  • getClass() - Returns the RUNTIME class of an object.
  • hashCode() - Returns a hash CODE VALUE for the object.
  • toString() - Returns a string representation of the object.
  • notify(), notifyAll(), and wait() - Play a part in synchronizing the activities of independently running threads in a program.



Discussion

No Comment Found