How can "while (i == i) ;" be a non-infinite loop in a single threaded application?
<p>I just got a question that I can't answer.</p>

<p>Suppose you have this loop definition in Java:</p>

<pre><code>while (i == i) ;
</code></pre>

<p>What is the type of <code>i</code> and the value of <code>i</code> if the loop is not an infinite loop and <strong>the program is using only one thread</strong>?</p>
