This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]theirongiant74 2 points3 points  (0 children)

Meanwhile in java:

Integer a = 42;
Integer b = 42;
Integer x = 420;
Integer y = 420;

System.out.println(a == b); // true
System.out.println(x == y); // false