fork download
  1. class Scratch {
  2. public static void main(String[] args) {
  3. int a = (int) Math.pow(2, 30);
  4. System.out.println(a + a == Integer.MIN_VALUE);
  5. }
  6. }
Success #stdin #stdout 0.09s 47056KB
stdin
Standard input is empty
stdout
true