Why does this part of code fail:
Integer.parseInt(\"11000000000000000000000000000000\",2); Exception in thread \"main\" java.lang.NumberFormatException: For
According to the docs, the max value of an Integer is 2^31-1. Which, in binary is:
2^31-1
1111111111111111111111111111111
In other words, 31 1's in a row.
1