Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Core Java - Interview Questions and Answers for 'Equalsignorecase' - 1 question(s) found - Order By Newest|
|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.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  equals  equalsignorecase  equals vs equalsignorecase|