title: java For loop simple code - output clarification
body: <p>Can somebody explain me how this code prints <code>8 2</code> as the result?</p>
  
  <pre><code>public class Check{
  
      public static void main(String args[]){
  
          int x=0;
          int y=0;
  
          for(int z=0;z&lt;5;z++){
              if(++x&gt;2||++y&gt;2){
                 x++;
              }
           }
  
           System.out.println(x+" "+y);
  
      }
  }
  </code></pre>