Here you can find the source of getConcatenatedString(String... args)
public static String getConcatenatedString(String... args)
//package com.java2s; public class Main { public static String getConcatenatedString(String... args) { final StringBuilder sb = new StringBuilder(); for (String arg : args) { sb.append(arg);//from w w w . j ava 2 s . c om } return sb.toString(); } }