big integer class in java code example Example: big integer java import java.math.BigInteger; BigInteger f = new BigInteger("1");