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
1 Resposta
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