+ 1
What is wrong in this code??
4 Answers
+ 2
Line 30:
nextInt() method from Random class only allows one argument (upper bound of the range). Lower bound of the range is not configurable, the range always starts with zero
int num2 = random.nextInt( 3 );
+ 1
Ipang
Thanks for helping meš
+ 1
I also made a Rock, Paper, Scissors game few days ago. You can also refer to that.
https://code.sololearn.com/c9HNFPX627Gk/?ref=app
+ 1
Amul Gaurav
Thanksš