Contoh program :
public class continue_unlabeled {
public static void main(String args[]){
for(int i=0;i<6;i++){
if(i==3){
continue;
}
System.out.println(i);
}
}
}
Output :
0
1
2
4
5
Tags:
Java
public class continue_unlabeled {
public static void main(String args[]){
for(int i=0;i<6;i++){
if(i==3){
continue;
}
System.out.println(i);
}
}
}