Lister les arguments de ligne de commande

Author:


{filelink=5701}

public class ParametreMain {
  public static void main(String[] args) {
    int i = 0;
    while (i < args.length) {
      System.out.print(args[i] + " ");
      i++;
    }
    System.out.println();
  }
}

Leave a Reply

Your email address will not be published. Required fields are marked *