Code example for BigInteger

Methods: multiply

0
			return (BigInteger.ONE);
		}else{ 
			if(factorialTemp[number] != null){
				return factorialTemp[number];
			}else{ 
				factorialTemp[number] = BigInteger.valueOf(number).multiply(factorial(number-1));
			return factorialTemp[number];
			} 
		} 
	} 
 
	static BigInteger factorial2(int number){
		if(number <=1){
			return (BigInteger.ONE);
		}else{ 
			return BigInteger.valueOf(number).multiply(factorial(number-1));
		} 
	} 
	 
	static void printArray(){ 
		for(int i=1;i<100;i++){