String 转Array ,Array转String

String s;

char [] arr = s.toCharArray();//将String 转array
String.valueOf(arr);//将array转String:

 

https://www.runoob.com/java/number-valueof.html

你可能感兴趣的:(JAVA)