Create a file Expressions.java and copy the following code into it:
import java.lang.Integer;
public class Main {
public static void main(String[] args) {
boolean a = true;
boolean b = true;
boolean c = false;
boolean d = false;
boolean result = c ^ b ^ a ^ d;
System.out.println(result);
}
}
The program's result is now false. Use ⌥ F8 / Alt + F8 to open a special dialog and find out the expressions that return true as the result.