Skip to content

Instantly share code, notes, and snippets.

@liweinan
Created May 15, 2012 08:59
Show Gist options
  • Save liweinan/2700200 to your computer and use it in GitHub Desktop.
Save liweinan/2700200 to your computer and use it in GitHub Desktop.
MaxInteger
public class MaxInteger {
public static void main(String[] args) {
System.out.println(Integer.MAX_VALUE);
System.out.println(Integer.MIN_VALUE);
}
}
@liweinan
Copy link
Author

2147483647
-2147483648

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment