Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    private static String appendStrs(Object... msgs) {
        if (null == msgs) {
            return "";
        }
        StringBuilder str = new StringBuilder();
        for (Object msg : msgs) {
            if (null != msg) {
                str.append(msg.toString());
            }
        }
        return str.toString();
    }
}