describe the difference between == operator and equals() operator
Answers
Answered by
1
Answer:
This article explains the basic difference between these two. The Equality Operator ( ==) is the comparison operator and the Equals() method compares the contents of a string. The == Operator compares the reference identity while the Equals() method compares only contents.
Similar questions