如何添加所有 charAcro[] 来创建字符串?例如 charAcro[0] = a, charAcro[1] = b, charAcro[2] = c, 使得字符串 abc
while(resultSet.next()){
String Name = rs.getString(1);
String Acro=Name;
String delimiterAcro = " ";
String[] temp =null;
char[] charAcro = null;
temp = Name.split(delimiterAcro);
for(int i = 0;i<temp.length;++i){
charAcro[i] = temp[i].charAt(0);
//SOME CODE HERE?
}
}