public class Test { public static void main(String [] args) { char c = 'a'; System.out.println (c); String str = String.valueOf(c); System.out.println (str); } }
char 类型的字符串可以直接 打印