package com.shhfg.ds; public class jave { public static void main(String[] args) { char ci='a'; int bay=ci+0; System.out.println(bay); //97 'a'=97 'A'=65 } } 图片参考如下:
package com.shhfg.ds; public class jave { public static void main(String[] args) { char ci='a'; int bay=ci+0; System.out.println(bay); //97 'a'=97 'A'=65 } } 图片参考如下: