Skip to content

Instantly share code, notes, and snippets.

@NhanHo
Last active August 29, 2015 14:17
Show Gist options
  • Save NhanHo/fe7e7cfbe1a8bb322fa2 to your computer and use it in GitHub Desktop.
Save NhanHo/fe7e7cfbe1a8bb322fa2 to your computer and use it in GitHub Desktop.
Java stuffs
Integer x, y, z;
x = y = 10;
z = 10;
System.out.println(x==y);
System.out.println(x==z);
x = y = 200;
z = 200;
System.out.println(x==y);
System.out.println(x==z);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment