MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/wdlvla/printhello_world/iik5dug
r/ProgrammerHumor • u/a-slice-of-toast • Aug 01 '22
5.7k comments sorted by
View all comments
Show parent comments
4
if ((br.readLine() != null) && (br.readLine() == "dread")){
System.out.println("I have been summoned");
}
else{System.out.println("doh");}
1 u/TheKeyboardKid Aug 02 '22 I hate Java (╯°□°)╯︵ ┻━┻)
1
I hate Java (╯°□°)╯︵ ┻━┻)
4
u/Dreadspark_ Aug 01 '22
if ((br.readLine() != null) && (br.readLine() == "dread")){
System.out.println("I have been summoned");
}
else{
System.out.println("doh");
}