赞
踩
String msg = "i am a good boy!"; char[] dest = msg.toCharArray();
//通过构造函数 char[] array = new char[] {'a','b','c','d','e','f','g'}; String str = new String(array);