Java tutorial
//package com.java2s; import java.util.ArrayList; public class Main { public static String joinArray(ArrayList arr) { StringBuilder sb = new StringBuilder(); for (Object obj : arr) { sb.append(obj); } return sb.toString(); } }