Here you can find the source of convertArrayToString(Object[] objArr)
public static String convertArrayToString(Object[] objArr)
//package com.java2s; public class Main { public static String convertArrayToString(Object[] objArr) { if (objArr == null) return "null"; String ret = ""; for (int i = 0; i < objArr.length; i++) { if (i != 0) ret += ","; ret += objArr[i];// w ww . j a v a 2 s. c o m } return ret; } }