for(String str : strArr) {
continue; //Skips current iteration and moves onto the following
}
List<Integer> numList = Arrays.asList(10,21,31,40,59,60);
numList.forEach( x-> {
if( x%2 == 0) {
return; // only skips this iteration.
}
System.out.println(x);
});