Give the output of snippet :int p=9; while (a<=15) { p++; if (p==10) continue; system.out.println(p); }
Answers
Answered by
7
Answer:
And declare int a=10;
add a++ after the while loop
Then output will be
9
11
12
13
14
Similar questions