Example to generate 100 random integers and print them:
Note that in java integers are 32 bits long. Which means we can have 232 integers. Hence, we have 4294967296 integers which range from -2147483648 to +2147483647 (including 0).
| Advertisement |

No comments:
Post a Comment