Basic Concept of Recursion in JAVA

Recursion is a technique used to solve complex problems in JAVA. In recursion, a method calls itself.

Simple example of a Factorial program is enough to understand the basic concept of recursion, I repeat BASIC concept! Recursion is very vast and can be used in places we can not even think of!

How a normal person see recursion!

What recursion actually looks like.
What recursion actually looks like.


How programmers see Recursion!


Source-Code of a Factorial Program using Recursion technique


Factorial of ‘5’ using Recursion method!