[Solved] In Java, how do I parse a string bigger than int size

[ad_1]

Integer.parseInt couldn’t do the job, unless you were happy to lose data. Think about what you’re asking for here.

Try Long.parseLong(String) or new BigInteger(String) for really big integers.

[ad_2]

solved In Java, how do I parse a string bigger than int size