Here you can find the source of implode(String[] array)
public static String implode(String[] array)
//package com.java2s; public class Main { public static String implode(String[] array) { if (array != null && array.length > 0) { StringBuilder sb = new StringBuilder(); for (String string : array) { sb.append(string);// w w w.j a v a 2 s .c o m } return sb.toString(); } return ""; } }