// Create a BigInteger object with a value greater than Integer.MAX_VALUE BigInteger bigInt = new BigInteger("12345678901234567890"); // Convert the BigInteger to an int using intValue int value = bigInt.intValue(); // Output the result System.out.println(value); // Output: 455725622In the above example, the original BigInteger value is too large to fit into an int, so the intValue() method returns the low-order 32 bits of the BigInteger value. Package library: java.math