title: do while syntax for java
body: <p>Ages since I have written a do while.</p>
  
  <p>Whats wrong with this do while</p>
  
  <pre><code>int i = 0;
      do { 
          System.out.println(i);
      } while(++i == 500);
  </code></pre>
  
  <p>I only goes once through the loop, and IMO it should iterate 500 times.</p>