Java 包装类 Character、char Character与charchar a = 'a';//自动装箱Character b = a;//自动拆箱char c = b;System.out.println("Character b="+b.charValue());System.out.println("char c="+c);输出Character b=achar c=a java 2024-10-22 26 点赞 0 评论 39 浏览