Java tutorial
//package com.java2s; import java.util.List; public class Main { /** * Converts a list of Strings to a single String * * @param strings * @return */ private static String outputStrings(List<?> strings) { StringBuilder builder = new StringBuilder(); for (Object string : strings) builder.append(string); return builder.toString(); } }