title: SCJP with label
body: <p>Below will be compilation fail due to "label z is missing" but if I just move <strong>z:</strong> to one step below after o = o + 2 then that will work? What is the logic behind this?</p>
  
  <pre><code>public class Breaker {
  static String o = "";
  
  public static void main(String[] args) {
  z: 
  o = o + 2;
  for (int x = 3; x &lt; 8; x++) {
      if (x == 4)
      break;
      if (x == 6)
      break z;
      o = o + x;
  }
  System.out.println(o);
  }
  }
  </code></pre>