Here you can find the source of print(ArrayList array)
public static void print(ArrayList array)
//package com.java2s; //License from project: Open Source License import java.util.ArrayList; public class Main { /**/*from www . j a va 2 s .c o m*/ * prints to the standard output */ public static void print() { System.out.println(""); } public static void print(String msg) { System.out.println(msg); } public static void print(ArrayList array) { System.out.println(array); } }