+ 1

How is the action in system.out.println?

https://code.sololearn.com/c0MV44syfdKI/?ref=app

5th Apr 2019, 8:54 AM
Evgeny Madolimov
Evgeny Madolimov - avatar
3 Answers
+ 2
It works like this, 1 higher than 2 if true print 0 else print 1 It is same as else if statement if(1 > 2){ .... } else{ .... }
5th Apr 2019, 9:38 AM
JavaBobbo
JavaBobbo - avatar
+ 1
Thank you! Played with the code and figured out :)
5th Apr 2019, 8:54 PM
Evgeny Madolimov
Evgeny Madolimov - avatar
0
Good job! 😊 You welcome 👍
5th Apr 2019, 9:59 PM
JavaBobbo
JavaBobbo - avatar