// continue staement example
public class ContinueStatement{
public static void main(String[] args) {
for (int i = 0; i < 10; i++) {
if (i % 2 == 0) {
continue;
// if condition satisfied then here loop skip below part
}
System.out.println(i);
}}
}
Output:1 3 5 7 9