方法二: 方法三: apache common包下的StringUtils的join方法: StringUtils.join(list, ","); 以下其源碼: <col> 作者:SummerChill