Created
February 11, 2015 16:34
-
-
Save jeremyheiler/1eb2519d0f583f6b5a0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main { | |
public static void main(String[] args) { | |
Integer a = Integer.valueOf(1); | |
Integer b = Integer.valueOf(1); | |
System.out.println("a == b -> " + (a == b)); | |
Integer c = Integer.valueOf(1234); | |
Integer d = Integer.valueOf(1234); | |
System.out.println("c == d -> " + (c == d)); | |
} | |
} |
Author
jeremyheiler
commented
Feb 11, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment