Search Interview Questions | ![]() ![]() Click here and help us by providing the answer. ![]() Click Correct / Improve and please let us know. |
|
| ||||
Interview Questions and Answers | ||||
| ||||
Ans. "equals" method is the method of object class that needs to be overridden to check object equality. This is not specific to any class like String. equalsignorecase is the method of String class that provides a definition that ignores the case of characters during comparison. The only difference between them in String class is that the equals() methods considers the case while equalsIgnoreCase() methods ignores the case during comparison. | ||||
![]() | ||||
![]() ![]() ![]() | ||||
![]() | ||||