public class MyClass { public static void main(String[] args) { int x = 5; System.out.println(!(x > 3 && x < 10)); // returns false because ! (not) is used to reverse the result } }