📅  最后修改于: 2022-03-11 14:52:17.046000             🧑  作者: Mango
if(x == (short)x)System.out.println("* short");
if(x == (int)x)System.out.println("* int");
if(x == (long)x)System.out.println("* long");