Java program to give command line arguments

 class Command{

 public static void main(String ar[])

 {

  int a;

  for(a=0;a<ar.length;a++)

  {

   System.out.println(ar[a]);

  }

 }

}


OUTPUT





Comments