There is a situation when long primitive type does not allow to store very large value. There is a Java Class that support a large value, BigInteger.
This class does not support usual mathematical operation, so be careful when use it.
One example is to add or multiply instead of + or *.
No comments:
Post a Comment