Here you can find the source of printArray(int[] array)
public static void printArray(int[] array)
//package com.java2s; public class Main { public static void printArray(int[] array) { for (int x : array) { System.out.println(x); }/*from www .j a va 2 s . co m*/ } }