title: Java Android For statement/loop parameters
body: <p>Hello i've aquired some java code from an android sample project online and in the code there is a For statement/loop. The parameters for this For statement are displayed as (;;) rather than something like (int i = 0; i &lt; string; i++). Can anyone explain exactly what this loop is doing by having the parameters as (;;)? i've tried researching online but can't find a thing!
  thanks</p>
  
  <pre><code>for (;;) {
  
                  len = mSerial.read(rbuf);
                  rbuf[len] = 0;
  
  
                  if (len &gt; 0) {
                         //do something
     }
     }
  </code></pre>