Infinite counter Java


SUBMITTED BY: Guest

DATE: Nov. 25, 2013, 4:13 a.m.

FORMAT: Java

SIZE: 151 Bytes

HITS: 951

  1. public class infinite {
  2. public static void main(String[] args) {
  3. int i =1;
  4. while(true){
  5. System.out.println(i++);
  6. }
  7. }
  8. }

comments powered by Disqus