如题所述
public class PrintASC {
public static void main(String[] args) {
for(char i='A';i<='Z';i++)
//Write Hello World to the terminal window
System.out.println(i + "->" + (int)i);
}
}
public static void main(String[] args) {
for(char i='A';i<='Z';i++)
//Write Hello World to the terminal window
System.out.println(i + "->" + (int)i);
}
}
温馨提示:答案为网友推荐,仅供参考