how to generate randome number in desired range java code example
Example: how to generate randome number in desired range java
Random r = new Random();
int n = r.nextInt(49) + 1;
Random r = new Random();
int n = r.nextInt(49) + 1;