recursion returning returning triangle each time the triangle(method calls itselfits argumentwhich starts at is reduced by the method plunges down into itself again and again until its argument is reduced to then it returns this triggers an entire series of returns the method rises back upphoenix-likeout of the discarded versions of itself each time it returnsit adds the value of it was called with to the return value from the method it called the return values recapitulate the series of triangular numbersuntil the answer is returned to main(figure shows how each invocation of the triangle(method can be imagined as being "insidethe previous one called with = version = version = version = version = version = returns adds returns adds returns adds returns adds returns returns figure the recursive triangle(method