public short test()
{
      short temp = 0;
      temp += 1 << 8;
}
temp是short类系的,而1 << 8运算后应该是int类型 然后short + int应该还是int类型,最后把int类型再赋给short类型的temp编译器怎么不会报错呢?难道是我的理解有错吗?望高手指点!谢谢!