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