Write a recursive function in Java to calculate the factorial of a given non-negative integer.

Posted Date: