Why i don't have output ? I do système.out.println in thé main. Thanks you. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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
1 ответ
+ 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