Java program to calculate factorial of a number using recursion

Java » Java program to calculate factorial of a number using recursion

Recursion function refers to a method which calls itself and terminates when some condition is triggered.

Program:

 

Output:


You must be logged in to take the quiz.

error: Content is protected !!