【风马一族_Java】如何获取ACSLL表的值

消耗两小时,只为一代码。

终于得到了此代码:

 1 public class sows {
 2 
 3     public static void main(String[] args) {
 4 
 5         byte[] bytes = new byte[10];
 6         char ch1=49;
 7         char ch2=57;
 8         System.out.println(ch1+" "+ch2);
 9     }
10 }

输出的结果是:

 1 9

Process finished with exit code 0

 

原来,char与ASCLL表有着一丝的联系。

posted @ 2016-06-24 14:37  风马一族  阅读(462)  评论(0编辑  收藏  举报