Java Program – to find a Factorial of a number.

Output: