Overview | Methods | This Package | All Packages
Compares two objects for equality and checks for null values.
Syntax
public static boolean equals( Object obj1, Object obj2 )
Parameters
obj1
The first object to compare.
obj2
The second object to compare.
Return Value
Returns true if the objects are equal; otherwise, returns false.