import java.io.IOException;
public class method2 {
public static void main(String[] args) throws IOException {
Integer i = new Integer(12);
String s = i.toString();
String str = s.intern();
byte [] b=str.getBytes();
byte[] ab="12".getBytes();
for(int k=0;k<b.length;k++){
System.out.print(b[k]+" ");
}
System.out.println();
for(int k=0;k<ab.length;k++){
System.out.print(ab[k]+" ");
}
}
}//运行结果怎么也不该是49 50 吧??基础有点弱,万万没想到。。
是王小二呀
Jason333
随时随地看视频慕课网APP
相关分类