0
Why output of this code is "false"?
I can't understand why this code show false. https://code.sololearn.com/cQvwUbbmuQFu/?ref=app
3 Answers
+ 3
https://www.google.com/amp/s/www.geeksforgeeks.org/difference-equals-method-java/amp/
In Java, you need to use the string method equals() to compare strings.
https://code.sololearn.com/cJYwR36p525W/?ref=app
+ 1
Zeke Williams
Tnx!