1、字符型数组转换为字符串
char []arr;
String s=new String(arr);
2、字符串转换为字符型数组
String s;
char[]arr=s.toCharArrary();