class Demo { public static void main(String[] args) { int x = 9; int y = 6; for(int z = 0; z < 6; z++, y--) { if(x > 2) x--; label: if(x > 5) { System.out.print(x + " "}; --x; continue label; } x--; } } } What is the result?
8
8 7
8 7 6
Compilation fails.
An exception is thrown at runtime.