Here you can find the source of implode(String[] args)
public static String implode(String[] args)
//package com.java2s; //License from project: Open Source License public class Main { public static String implode(String[] args) { return implode(args, " ", 0); }/* w ww .ja v a2 s. c om*/ public static String implode(String[] args, int start) { return implode(args, " ", start); } public static String implode(String[] args, String delimiter) { return implode(args, delimiter, 0); } public static String implode(String[] args, String delimiter, int start) { StringBuilder sb = new StringBuilder(); for (int i = start; i < args.length; i++) { if (i != start) { sb.append(delimiter); } sb.append(args[i]); } return sb.toString(); } }