1 public class OverflowError {
 2 
 3     public static void main(String[] args) {
 4  
 5         // Oops... What is wrong with this?
 6         for (byte x = 0; x < 1000; x++) {
 7             System.out.println(x);
 8         }
 9 
10     }
11 }