Java/ J2EE, Oracle Adf Blog
Thursday, 19 February 2015
Continue Example
public class ContinueExample {
public static void main(String[] args) {
for (int i = 1; i <= 10; i++) {
if (i == 8 || i == 9) {
continue;
}
System.out.println(i);
}
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment