RE: RE: [deleted]
You are viewing a single comment's thread from:

RE: [deleted]

RE: [deleted]

And what if you do the same thing in java having almost built in fuctions for random numbers picking where you just put your priority e.g

Random().nextInt(int bound) generates a random integer from 0 (inclusive) to bound (exclusive)

If you give the function
private static int getRandomNumberInRange(int min, int max)

private static int getRandomNumberInRange(0, 6) it will generate random numbers between 0 and 6

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center