0
What is difference between == operation and equals() method?
I am asking this question in Java?
2 ответов
+ 5
== compares the reference of the objects. equals() compares the actual content. equals() must be used for string comparisons.
0
@Dinesh thanks