View Single Post
  #1 (permalink)  
Old 04-27-2007, 05:33 AM
sandor sandor is offline
Member
 
Join Date: Apr 2007
Location: Pennsylvania,USA
Posts: 46
sandor is on a distinguished road
eternal loop problem
why is this loop not stopping?
Code:
public static final int END = Integer.MAX_VALUE; public static final int START = END - 100; public static void main(String[] args) { int count = 0; for (int i = START; i <= END; i++) count++; System.out.println(count); }
Reply With Quote
Sponsored Links