2020
10-09
10-09
JAVA实现打印ascii码表代码
我就废话不多说了,大家还是直接看代码吧~packagecom.jalor;publicclassAAAA{publicstaticvoidmain(String[]args){outputA(65);outputA(97);}//打印ascii码表publicstaticvoidoutputA(intcount){for(inti=0;i<26;i++){System.out.print((char)(count+i));}System.out.println();}}补充知识:java显示ASCII码字符表打印从!到~的字符,每行十个字符publicclassASCIITable{publicsta...
继续阅读 >