if(value == 1){ return value; } else { return value * factorial(value - 1); }
System.out.println(factorial(6));