int x=53191; short sx=(short)x; // sx=-12345 int y=sx; //y=-12345 分两种情况 无符号数截断时,截断后数仍为无符号 有符号数截断时,自动把截断后的数转换为无符号