Question PRG-JAVA-0012
MediumWhat is the output of this program?
public class Main {
public static void main(String[] args) {
System.out.println(1 + 2 + "");
}
}
- A.
12
- B.
Error
- C.
Sign up free to see the answer and a step-by-step explanation.