Here you can find the source of printArray(int[] array)
public static void printArray(int[] array)
//package com.java2s; //License from project: LGPL public class Main { public static void printArray(int[] array) { for (int i = 0; i < array.length; i++) { System.out.print(array[i] + ", "); }//from w w w . j a va2 s.co m System.out.println(); } }