Answer
When a function calls itself within its body, this is known as a Recursive method.
Work Step by Step
Recursion is a technique that leads to elegant solutions to problems that are difficult to program using simple loops.
Recursion is a useful programming technique. In some cases, it enables you to develop a natural, straightforward, simple solution to an otherwise difficult problem.