Here you can find the source of printArray(E[] a)
Parameter | Description |
---|---|
a | a parameter |
public static <E> void printArray(E[] a)
//package com.java2s; //License from project: Open Source License import java.util.Arrays; public class Main { /**//from w ww .ja v a 2 s . c o m * * @param a */ public static <E> void printArray(E[] a) { System.out.println(Arrays.deepToString(a).replace("],", "],\n")); } }