As I was reading a colleague\'s Java code, I stumbled upon an army of if/else statements. In these statements, several && and || operators wer
&&
||
for &&:
false && ... => false
for ||:
true || ... => true.
And precedence for && is higher than ||.
See more: Operator Precedence in Java