title: What happens when one places a semi-colon after a while loop's condition?
body: <p>I've come across a situation like this a few times:</p>
  
  <pre><code>while (true) {
  
  while (age == 5); //What does this semi-colon indicate?
  //Code
  //Code
  //Code
  
  }
  </code></pre>
  
  <p>The <code>while(true)</code> indicates that this is an infinite loop, but I have trouble understanding what the semi-colon after the <code>while</code> condition accomplishes, isn't it equivalent to this?:</p>
  
  <pre><code>while (age == 5) { }
  
  //Code
  //Code
  </code></pre>
  
  <p>In other words, does it mean that the <code>while</code> loop is useless as it never enters the block?</p>