Here you can find the source of mergeStrings(Object... strings)
public static String mergeStrings(Object... strings)
//package com.java2s; //License from project: Apache License public class Main { public static String mergeStrings(Object... strings) { StringBuilder sb = new StringBuilder(500); for (Object str : strings) { sb.append(str.toString());//ww w.jav a 2 s . c o m } return sb.toString(); } }