class TestHex
{
public static void main(String args[])
{
int n=60;
int temp=n&15;
System.out.println(temp>9?(char)(temp-10+'A'):temp);
int m=n>>>4;
int n1=m&15;
System.out.println(n1>9?(char)(n1-10+'A'):n1);
}
}
/*
67
3
*/
为啥(char)(temp-10+'A')没转过来啊!