20210504

String s ="abc"

int b =s.charAt(0);    syso(b);   输出的是a的ascii码97

syso(s.charAt(0));    输出的'a'

posted @ 2021-05-05 09:14  pbw123  阅读(36)  评论(0)    收藏  举报