例题 public class Example2_1 {public static void main(String[] args) {// TODO Auto-generated method stubchar chinaWord='好',japanword='ァ';char you='\u4f60';int position = 20320;System.out.println("汉字:"+chinaWord+"的位置: "+(int)
public class Example2_1 { public static void main(String[] args) { // TODO Auto-generated method stub char chinaWord='好',japanword='ァ'; char you='\u4f60'; int position = 20320; System.out.println("汉字:"+chinaWord+"的位置: "+(int)chinaWord); System.out.println("日文:"+japanword+"的位置:"+(int)japanword); System.out.println(position+"位置上的字符是:"+(char)position); position=21310; System.out.println(position+"位置之上的字符是:"+(char)position); System.out.println("you:"+you); } }