0

Why i don't have output ? I do systÚme.out.println in thé main. Thanks you.

Display String. https://code.sololearn.com/cQ4e0CXniTUn/?ref=app

16th Sep 2020, 6:35 AM
Malick Diagne
Malick Diagne - avatar
2 Answers
+ 1
in java you can not compare strings with == you have to use .equals like this if (mystring1.equals(mystring2) )
16th Sep 2020, 6:41 AM
Ruba Kh
Ruba Kh - avatar