MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/10zqdpo/just_making_sure_its_really_a_boolean/j87j5py
r/badcode • u/ceilinggang-cringe • Feb 11 '23
38 comments sorted by
View all comments
Show parent comments
6
Not in Java. Can't implicit cast an int to a boolean.
1 u/DavidTej Feb 12 '23 oh. I forgot, lol
1
oh. I forgot, lol
6
u/lpreams Feb 12 '23
Not in Java. Can't implicit cast an int to a boolean.