0

Java's String if statement is being wonky

Can someone help me out? The if statement that should be working as planned isnt working with the name I input https://code.sololearn.com/cexp64u7i1Qf/?ref=app

11th Oct 2018, 2:52 PM
Evan Martine
2 Answers
0
I was able to find the solution. I used a string operation called equals. Why does == not work in this scenario? Is it a data type issue?
11th Oct 2018, 3:07 PM
Evan Martine