If you write this in an if statement (this is an example):
if (A == 1 && B == 1
||
C == 1 && D == 1)
Does Java think like this: if A and B is equal to 1 OR C == 1 and D == 1, then it's true. Or does Java think: if A and B or C is equal to 1 AND D is equal to 1, then it's true. And there's more possibilities with AND and OR..
This is a problem in my programming because I'm not sure about this question.
/Viktor