title: Java byte for loop won't stop running when index < 128
body: <p>I have this code that runs but never stops. </p>
  
  <pre><code>class A {
     public static void main(String[] args) {
        for (byte index = 0; index &lt; 128; index++)
        {
            System.out.println(index);
        }
     }
  }
  </code></pre>
  
  <p>Can someone explain to me why it keeps looping. </p>