New course! Every coder should learn Generative AI!
Try a free lesson0
for first question
int a=10;
++a;
System.out.println(a);
//output 11
for 2nd question
output is 14
for 3rd question
int x=25,y;
y=x-12;
System.out.println(y);
//output 13