In this java programming tutorial i used command line input for taking the number whom we are going to find the factorial of. You can also use scanner class if you like.
Here, We have used recursion technique or recursive function for finding factorial of the number instead of traditional looping / iterating statement of java language .