Right now I'm trying to teach myself Java and I came across this piece of code showing factorials.(https://www.cs.utexas.edu/~scottm/cs307/javacode/codeSamples/Factorial.java)
It runs fine showing factorials up to 12 but I don't quite understand how it runs. I understand most of it up until "result *= i;"
If you were wondering that's called a compound assignment operator, and there are a few of them. I'm going to use i and n as variables just for explanations sake. i += n (i = i + n), i -= n( i = i - n),i *= n (i = i * n), see the pattern going here? You can find more operators here: http://docs.oracle.com/javase/tutorial/java/nutsandbolts/operators.html
Also since you are learning Java, this guys aeries built for University of Reddit is top notch!