Equality comparison of Integers before and after adding 0

Question | Aug 8, 2017 | rparekh 

A primitive integer constant is boxed to create an Integer object x. Reference x is assigned to y and then 0 is added to it. x and y are compared before and after adding 0 to x:

Integer x = new Integer(1);
Integer y = x;

System.out.println(x == y);
x = x+0;
System.out.println(x == y);

What would be the output of above 2 equality comparisons?