This your code....
The below syntax is only creates a new wrapper object on the Integer Literal Pool. If the value within -128 to 127, they will be referred by two reference variable, but actually, there will be only one object.
Others will create objects on the heap as like any 'Other' objects.
So the == method, since it check the bit
patterns of the object reference, will give the output like above....