查看完整内容
刚才说的不够详细,再来一次
public class daxie{
public static void main(String[] args){
long haomiao = System.currentTimeMillis();
//因为ASCII 65 ~ 90 是大写字母
int b = (int)((haomiao/1000)%26+65);
char daxiezimu = (char)b;
System.out.println(haomiao);
System.out.println(daxiezimu);
}
}