String username = "123456";
for(int i=0;i<username.getBytes().length;i++){
System.out.println(username.getBytes()[i]);
}遍歷出來(lái)的為什么是495051525354
java的getBytes()怎么理解?
炎炎設(shè)計(jì)
2018-10-11 13:14:12