Java tutorial
//package com.java2s; public class Main { public static String addStrings(Object... params) { StringBuilder stringBuilder = new StringBuilder(); for (Object s : params) { stringBuilder.append(s); } return stringBuilder.toString(); } }