Mega Code Archive

 
Categories / Java Book / 003 Essential Classes
 

0182 BigInteger class

BigInteger is an immutable class that represents a signed integer of arbitrary precision. BigInteger declares three convenience constants: ONE, TEN, and ZERO. Each constant is the BigInteger equivalent of 1, 10, and 0. static BigInteger ONE The BigInteger constant one. static BigInteger TEN The BigInteger constant ten. static BigInteger ZERO The BigInteger constant zero.