Say a condition looks something like this:
if (false && true)
//Code
would it break away from the condition before it reaches the true, because a false and && would never be true?
Also, if you have code like this:
boolean dividesToTwo (int operand1, int operand2) {
if ((operand2 != 0) && operand1 / operand2 == 2)
return true;
return false;
}
would it successfully work as intended, or would you get an error for division by zero? (if the second operand is a zero)