数组转换成字符串输出

public static void info(String[] param){
        StringBuffer sb=new StringBuffer();
        for(int i=0;i<param.length;i++){
            sb.append(param[i]).append(",");            
        }
        System.out.println(sb);
    }

原文地址:https://www.cnblogs.com/zhutouying/p/3144007.html