short i =1; i=i+1与short i=1; i+=1编译时的区别 最近碰到一个java基础方面的问题:
public class Test{ public static void main(String[] args) { short i = 1; i = (short)(i + 1); }}