Char——>String
String s = String.valueOf('c'); //单个字符 String s = String.valueOf(new char[]{'c'}); //转换数组 String s = Character.toString('c');//实际上直接返回String.valueOf(char) String s = new Character('c').toString(); String s = new String(new char[]{'c'}); String s = "" + 'c';
String——>Char
String.charAt(index)//return char String.toCharArray()//return char[]
转 : https://www.cnblogs.com/OKDA/p/12477644.html