import java.util.Scanner;
public class Unicode{
public static void main(String args[]){
int e=0;char a[];
Scanner q =new Scanner(System.in);
System.out.println("输入要转化的汉字数量");
int w= q.nextInt();
a =new char[w]; //初始化数组
for(;e<w;e++){
System.out.println("输入第"+(e+1)+"个汉字");
a[e] = q.next().charAt(0);} //输入字符分配给数组
for(e=0;e<w;e++){
System.out.println(a[e]+"的Unicode表十六进制位置为\\u"+Integer.toHexString(a[e])); //以十六进制输出字符
}
}
}