The equals() method of StringUtils class is a null-safe version of the equals() method of String class , which also handles null values.
Does equals null safe Java?
The equals() method of StringUtils class is a null-safe version of the equals() method of String class , which also handles null values.