Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//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();
    }
}