Why is it that the following code:
class swi { public static void main(String[] args) { int a=98; switch(a) {
The continue-Statement may be used in loops and not in switch. What you probably want is a break.
continue
break