Both the expressions i++ and i+=1 evaluated the same result. But the only difference is that i++ uses the increment operator (unary operator) and i+=1 uses the assignment operator.
Another difference is that the expression i++ directly increments the value of i but the expression i+=1 first converts into i=i+1 by the JVM and then executed.