Java setzen das Keyword fort
for (int i = 0; i < 10; i++) {
if (i == 4) {
continue;
}
System.out.println(i);
}
naly moslih
for (int i = 0; i < 10; i++) {
if (i == 4) {
continue;
}
System.out.println(i);
}
int number = 4;
int finalnum = 20;
while(number <= finalnum){
number++;
if(number %2 != 0){//Each odd number restarts the loop
continue;
}
System.out.println("Even Number!: "+ number);
}
}//EOM