Give the output of the snippet:
int a = 3; while (a<=10) { a++; if(a== 5) continue; System.out.println(a); }
21 Likes
4 6 7 8 9 10 11
Answered By
9 Likes
State the difference between = and ==.
Predict the output:
int a=6,b=5,c; c = (a++ % b++) *a + ++a*b++;
int a=10,b=12; if(a>=10) a++; else ++b; System.out.println(a + "and" +b);