Question PRG-JAVA-0048
MediumWhat is the output of this program?
public class Main {
public static void main(String[] args) {
char ch = 'A';
ch += 2;
int n = ch + 1;
System.out.println(ch + " " + n);
}
}
- A.
A 66
- B.
67 68
- C.
Sign up free to see the answer and a step-by-step explanation.