int one = 10 ; int two = 20 ; int three = 0 ; three +=one; System.out.println("there +=one ==> " + there); three等于three+one,three值为0,one值为10.运算结果不是应该是10吗?为什么会是40?
明白了!前面已经有一个运算结果了!直接three值为30,再加one所以能得出40!