Exemple de La boucle ‘foreach’ en java

Author:


{filelink=4402}

public class TableauForeach {
  public static void main(String args[]) {
    String[] data = { "Paris", "Stockholm" };
    for (String s : data) {
      System.out.println(s);
    }
  }
}

Leave a Reply

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