This tutorial explains recursion using an example to demonstrate the difference between an iterative solution and a recursive solution. Recursion uses a base case and a recursive case to call a method from its body directly or indirectly.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.