0
What are the different ways to store very large number in java?
5 Answers
+ 3
Check out BigInteger class.
+ 1
Okay any other ways ??
I want to know how many ways ?
0
Long and double(with decimals) are usually used.
0
Bt incase their is a possibility to store a very large number then BigInteger is only way or any other ways are there.
0
You could use arrays, or rather strings with digits from 0 to 9.