0
What is the output of the following Java program?
public class Main {
public static void main(String[] args) {
int x = Integer.MAX_VALUE;
x++;
System.out.println(x + " " + (x < 0));
}
}- A2147483648 false
- B-2147483647 true
- C-2147483648 true
- DArithmeticException is thrown
Correct answer: C