0

how do you understand logical statements?

Im new to learning java and im stuck on logical statements and would like some help on how they work because i didnt understand it from what i read

18th May 2019, 3:47 AM
Hunter Norris
Hunter Norris - avatar
1 Odpowiedź
0
If (True && True ) = code runs If (True && False ) = code doesn't run If(true|| false) = code runs && means AND, meaning both x AND y must be the true || means OR, meaning either x OR y must be true
18th May 2019, 3:55 AM
HNNX 🐿
HNNX 🐿 - avatar