String str = "hello world";
//String转char[]
char[] chs = str.toCharArray();
// char[] 转 String
String str2 = new String(chs);