Determines whether the specified object is equal to the current one.
Syntax
true if the specified object is equal to the current object; otherwise, false.
public boolean equal(Object object)Run On
CalledParameters
- object
- Type: Object Class
The object to compare with the current object.
Return Value
Type: booleantrue if the specified object is equal to the current object; otherwise, false.