Counting sheeps in JAVA xD 0000-00-00 00:00:00 public class Sheep { public static void main(String args[]) { int sheep = 0; boolean asleep = false; while(!asleep) { System.out.println(++sheep); try { Thread.sleep(1500); } catch(InterruptedException e) { } } } }