Write a recursive method to calculate factorials. Your metho…

Write a recursive method to calculate factorials. Your method should have the following method header: public static int factorial(int n) Note: Do NOT write a main method or any code using the method you write – just write the method itself. Your method should not print anything. You may assume that input n > 0.