short s=1;
s=s+1; //false
因为1为int类型,s为short类型,当s与1相加时,short类型会自动转化为int类型(向上转型),所以右边就为int类型,左边用short类型接收int类型,错误
s+=1; //true