这是我自己的代码,如果有哪里不懂或者有问题,可以扣我,共同进步。
int one = 10;
int two = 20;
int three;
System.out.println("three = one + two ==>" + (three = one + two));
System.out.println("three += one ==>" + (three+=one));
System.out.println("three -= one ==>" + (three-=one));
System.out.println("three *= one ==>" + (three*=one));
System.out.println("three /= one ==>" + (three/=one));
System.out.println("three %= one ==>" + (three%=one));
嗯,可以,good!