int arr[] = {1,2};
int arr2[] = {1,2};
int b = 2;
int i = 0;
int j = 0;
arr2[j++] = arr[j]+b;// arr2[0+(j++)] = arr2[1] + 2
System.out.println(arr2[0]);//4
arr[i++] += b;//arr[0]=arr[0] + b//i+1
System.out.println(arr[0]);//3
System.out.println(arr[1]);//2
System.out.println(j);//1
System.out.println(i);//1
System.out.println(arr2[j]);//2
System.out.println(arr[i]);//2
System.out.println(arr2[0]);//4
System.out.println(arr[0]);//3
原文:https://www.cnblogs.com/zlh109/p/14017928.html