This question is in no way a duplicate of "Using loops to compute factorial numbers, Java". *= is a "Compound Assignment Operator". Search using that name to find lots of explanations. @CandiedOrange +1 I agree with you.