1. What is the value of 0! ?
2. What is the value of 1! ?
3. What is the value of 4! ?
4. What is the value of 5! ?
5. Complete the following iterative method to compute n!
public static int factorial ( int n )
6. Complete the following recursive method to compute n!
public static int factorial ( int n )