+ 1
The set of values in the output?
Random rand=new Random(); int m=rand.nextInt(3)+rand.nextInt(3); System.out.print(m);
3 Respostas
+ 4
dark smoke, phosohor, and a loud voice telling:
copy it to playground and find out yourself 😉
100 test should be enough.
0
For the output, check in playground..
For any doubt in that specify that clearly......
For rand.nextInt(3) will give you random value between 0 to 3-1