//int ooo = 19999999999999;
//long ooo = 19999999999999;
//这么大的整数,int和long都存不下的时候,我们就使用Math类下的BigInteger类型。
BigInteger bi = new BigInteger("199999999999999999999999999");
BigInteger bi1 = new BigInteger("1");
System.out.println(bi.add(bi1));
返回:200000000000000000000000000