fork download
  1. class forloop{
  2. public static void main(String[] args){
  3. for(int i=1; i<=6; i++){
  4. System.out.println("Himanshu " + i);
  5. }
  6. }
  7. }
Success #stdin #stdout 0.13s 55656KB
stdin
Standard input is empty
stdout
Himanshu 1
Himanshu 2
Himanshu 3
Himanshu 4
Himanshu 5
Himanshu 6