Is integer size in java of fixed length or variable size?
ex: 1 or 10000 does both the number takes same space during allocation?
An int or an Integer has fixed size. A BigInteger has variable size.
int
Integer
BigInteger