(This pitfall applies equally to all primitive wrapper types, but we will illustrate it for Integer and int.)
When working with Integer objects, it is tempting to use == to compare values, because that is what you would do with int values. And in some cases this will seem to work:
Integer int1_1 =...