Java tutorial
//package com.java2s; public class Main { public static String buffer(String... array) { StringBuffer s = new StringBuffer(); for (String str : array) { s.append(str); } return s.toString(); } }