Q. what is the output of below java program?
Code:
public class MyClass {
public static void main(String[] args){
int a = 10;
System.out.println(++a++);
}
}
β
Correct Answer: (D)
Compilation Error