

InterviewSolution
Saved Bookmarks
1. |
State the difference between = = operator and equals () method. |
Answer» equals () is a string function where as = = is a relational operator equals ( ) checks for the equality of strings, whereas = = checks the equality of 2 primitive type values. |
|