import java.math.BigInteger; public class Factorial { private BigInteger n; public BigInteger factorialOf(Integer value){ BigInteger n; for (int i = 2; i <= value; i++){ //n = n * value; } return null; } }