0
What is the output of the following Java program?
public class Main {
public static void main(String[] args) {
int i = Integer.MAX_VALUE; i++;
char c = 'A'; c += 2;
System.out.println(i + " " + c + " " + (c + 1));
}
}- A2147483648 C D
- B-2147483648 C 68
- C-2147483648 C D
- D2147483647 C 68
Correct answer: B