Here you can find the source of printArray(String[] s)
public static void printArray(String[] s)
//package com.java2s; //License from project: Open Source License public class Main { /** Affiche un array */ public static void printArray(String[] s) { for (int i = 0; i < s.length; i++) { System.out.println(i + ". " + s[i]); }// w w w . j a v a2s .c o m } public static void printArray(int[][] s) { for (int i = 0; i < s.length; i++) { for (int j = 0; j < s[0].length; j++) { System.out.println(i + ". " + s[i][j]); } } } }