/* program  Continue.java to demonstrate labelled continue */
class Continue {
	public static void main(String[] args) {
	int	j,k;	

outer:
	for(j = 0; j < 2; ++j) 
		for(k = 0; k < 3; ++k) {
			System.out.println("j & k " + j +" " +k);
		if(k == 1)
			continue outer;
		}

System.out.println("Now watch it without label");
	for(j = 0; j < 2; ++j) 
		for(k = 0; k < 5; ++k) {
			System.out.println("j & k " + j +" " +k);
		if(k == 1)
			continue;
		}
	}
}

