// andor.java - simple test class andor { public static void main(String[] command_line_args){ System.out.println(new AndOr().ComputeIt(true)); } } class AndOr { int x; public int AssignX(int num, int other) { x = num + other; return 0; } public boolean ComputeIt(boolean stuff){ boolean result; result = !(!(stuff && false) && !stuff); return result; } }