why Integer.parseInt("11111111111111111111111111111111",2) throws
exception in java?
why does Integer.parseInt("11111111111111111111111111111111",2) throw
java.lang.NumberFormatException: For input string:
"11111111111111111111111111111111"
In java integer is 32 bit, I expect a valid return value, what is going
wrong here ?
No comments:
Post a Comment