Note: (Restricted functionality due to obvious reasons!)

For Mobile-Ease ⇓

Minimal Code ( Raw-View ) :
class Thread03 { public static void main(String zee[]) { for(int a=0; a<5; a++) { System.out.println(a); try { Thread.sleep(1000); // sleep(1000) - where '1000' is an int value for milliseconds } catch(Exception e) { System.out.println(e); } } } }