/* Loops16.java CIS 160 David Klick 2004-09-22 Demonstrates labeled continue */ public class Loops16 { public static void main(String[] args) { int i, j; outer: for (i=1; i<=4; i++) { for (j=1; j<=4; j++) { if (j == 2) continue outer; System.out.println(i + "," + j); } } } } /* Sample output: 1,1 2,1 3,1 4,1 */