Methods of Object class MethodDescriptionpublic int hashCode()returns the hashcode number for this object.public boolean equals(Object obj)compares the given object to this object.protected Object clone() throws CloneNotSupportedExceptioncreates and returns the exact copy (clone) of this object.Java Object Class – Javatpoint www.javatpoint.com › object-class
Read moreWhich of the given method are of object class?
35) Which of the given methods are of Object class? Explanation: The notify(), notifyAll(), and wait() are the methods of the Object class.
Read moreWhat are methods in object class?
Methods of Object class MethodDescriptionpublic int hashCode()returns the hashcode number for this object.public boolean equals(Object obj)compares the given object to this object.protected Object clone() throws CloneNotSupportedExceptioncreates and returns the exact copy (clone) of this object.Java Object Class – Javatpoint www.javatpoint.com › object-class
Read moreWhat are the three methods of object class?
protected native Object clone() throws CloneNotSupportedException . public boolean equals(Object obj) protected void finalize() throws Throwable .
Read more