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
Blog Seputar Pemrograman Java, Android, iOS, Web, Database, Teknik Komputer dan Jaringan, Artikel, Agama dan Lain-lain
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); } } }
0 Komentar
Penulisan markup di komentar