class WideningToDouble { public static void main(String[] args) { long x = 1L << 54; double y = x + 1; boolean trueValue = x == y; // ASSIGNMENT System.out.println(trueValue); // prints "true" } void test() { int y = 2; if (y == 2.1) { System.out.println("true"); } else System.out.println("false"); } }