package ch07_08;
import java.math.BigInteger;
public class BigIntegerTest {
	public static void main(String[] args) {
		long x = 123456689987654321L;
		long y = 123456789999999L;
		System.out.println("x=" + x);
		System.out.println("y=" + y);
		System.out.println("x*y= " + (x * y));
		BigInteger bigX = new BigInteger("123456789987654321");
		BigInteger bigY = new BigInteger("123456789999999");
		BigInteger bigXY = bigX.multiply(bigY);
		System.out.println("bigXY= " + bigXY);
	}
}